@idlizer/arktscgen 2.1.9-arktscgen-6 → 2.1.9-arktscgen-9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/libarkts-copy/generator/options.json5 +165 -3
- package/build/libarkts-copy/native/meson.build +11 -12
- package/build/libarkts-copy/native/meson_options.txt +1 -1
- package/build/libarkts-copy/native/mingw.cross +14 -0
- package/build/libarkts-copy/native/src/bridges.cc +105 -15
- package/build/libarkts-copy/native/src/common.cc +11 -7
- package/build/libarkts-copy/native/src/common.h +1 -0
- package/build/libarkts-copy/native/src/generated/bridges.cc +318 -35
- package/build/libarkts-copy/package.json +24 -21
- package/build/libarkts-copy/src/Es2pandaNativeModule.ts +33 -6
- package/build/libarkts-copy/src/arkts-api/ChainExpressionFilter.ts +2 -1
- package/build/libarkts-copy/src/arkts-api/ImportStorage.ts +18 -12
- package/build/libarkts-copy/src/arkts-api/ProgramProvider.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/factory/nodeFactory.ts +15 -26
- package/build/libarkts-copy/src/arkts-api/index.ts +2 -4
- package/build/libarkts-copy/src/arkts-api/node-utilities/BlockStatement.ts +0 -4
- package/build/libarkts-copy/src/arkts-api/node-utilities/CallExpression.ts +1 -22
- package/build/libarkts-copy/src/arkts-api/node-utilities/ClassDefinition.ts +7 -8
- package/build/libarkts-copy/src/arkts-api/node-utilities/ClassProperty.ts +1 -22
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSFunctionType.ts +2 -5
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSImportDeclaration.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSModule.ts +44 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSParameterExpression.ts +1 -4
- package/build/libarkts-copy/src/arkts-api/node-utilities/MethodDefinition.ts +3 -12
- package/build/libarkts-copy/src/arkts-api/node-utilities/ObjectExpression.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/Program.ts +10 -11
- package/build/libarkts-copy/src/arkts-api/node-utilities/ScriptFunction.ts +17 -6
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSInterfaceDeclaration.ts +3 -6
- package/build/libarkts-copy/src/arkts-api/peers/AstNode.ts +3 -3
- package/build/libarkts-copy/src/arkts-api/peers/Config.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/peers/Context.ts +26 -5
- package/build/libarkts-copy/src/arkts-api/peers/ExternalSource.ts +4 -0
- package/build/libarkts-copy/src/arkts-api/plugins.ts +15 -7
- package/build/libarkts-copy/src/arkts-api/static/global.ts +3 -2
- package/build/libarkts-copy/src/{wrapper-compat/arkts-api → arkts-api}/static/globalUtils.ts +4 -4
- package/build/libarkts-copy/src/arkts-api/static/profiler.ts +0 -8
- package/build/libarkts-copy/src/arkts-api/utilities/extensions.ts +80 -0
- package/build/libarkts-copy/src/arkts-api/utilities/nativePtrDecoder.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/utilities/private.ts +5 -5
- package/build/libarkts-copy/src/arkts-api/utilities/public.ts +217 -29
- package/build/libarkts-copy/src/arkts-api/visitor.ts +17 -10
- package/build/libarkts-copy/src/checkSdk.ts +15 -0
- package/build/libarkts-copy/src/generated/Es2pandaEnums.ts +343 -321
- package/build/libarkts-copy/src/generated/Es2pandaNativeModule.ts +97 -14
- package/build/libarkts-copy/src/generated/factory.ts +40 -27
- package/build/libarkts-copy/src/generated/index.ts +4 -2
- package/build/libarkts-copy/src/generated/peers/AnnotatedAstNode.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/AnnotatedExpression.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/AnnotatedStatement.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/AnnotationDeclaration.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/AnnotationUsage.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/ArkTsConfig.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/ArrayExpression.ts +12 -6
- package/build/libarkts-copy/src/generated/peers/ArrowFunctionExpression.ts +26 -8
- package/build/libarkts-copy/src/generated/peers/AssertStatement.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/AssignmentExpression.ts +12 -6
- package/build/libarkts-copy/src/generated/peers/AstDumper.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/AstVerifier.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/AstVisitor.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/AwaitExpression.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/BigIntLiteral.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/BinaryExpression.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/BindingProps.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/BlockExpression.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/BlockStatement.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/BooleanLiteral.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/BreakStatement.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/CallExpression.ts +19 -7
- package/build/libarkts-copy/src/generated/peers/CatchClause.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/ChainExpression.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/CharLiteral.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/ClassDeclaration.ts +21 -8
- package/build/libarkts-copy/src/generated/peers/ClassDefinition.ts +37 -13
- package/build/libarkts-copy/src/generated/peers/ClassElement.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/ClassExpression.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/ClassProperty.ts +19 -7
- package/build/libarkts-copy/src/generated/peers/ClassStaticBlock.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/CodeGen.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/ConditionalExpression.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/ContinueStatement.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/DebuggerStatement.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/Declaration.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/Decorator.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/DiagnosticInfo.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/DirectEvalExpression.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/DoWhileStatement.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/DynamicImportData.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/ETSClassLiteral.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/ETSFunctionType.ts +20 -13
- package/build/libarkts-copy/src/generated/peers/ETSImportDeclaration.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/ETSIntrinsicNode.ts +77 -0
- package/build/libarkts-copy/src/generated/peers/ETSKeyofType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/ETSModule.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/ETSNewArrayInstanceExpression.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/ETSNewClassInstanceExpression.ts +12 -6
- package/build/libarkts-copy/src/generated/peers/ETSNewMultiDimArrayInstanceExpression.ts +12 -6
- package/build/libarkts-copy/src/generated/peers/ETSNullType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/ETSPackageDeclaration.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/ETSParameterExpression.ts +46 -14
- package/build/libarkts-copy/src/generated/peers/ETSPrimitiveType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/ETSReExportDeclaration.ts +3 -3
- package/build/libarkts-copy/src/generated/peers/ETSStringLiteralType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/ETSStructDeclaration.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/ETSTuple.ts +21 -9
- package/build/libarkts-copy/src/generated/peers/ETSTypeReference.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/ETSTypeReferencePart.ts +12 -6
- package/build/libarkts-copy/src/generated/peers/ETSUndefinedType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/ETSUnionType.ts +20 -7
- package/build/libarkts-copy/src/generated/peers/ETSWildcardType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/EmptyStatement.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/ErrorLogger.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/ExportAllDeclaration.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/ExportDefaultDeclaration.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/ExportNamedDeclaration.ts +20 -8
- package/build/libarkts-copy/src/generated/peers/ExportSpecifier.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/Expression.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/ExpressionStatement.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/ForInStatement.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/ForOfStatement.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/ForUpdateStatement.ts +5 -3
- package/build/libarkts-copy/src/generated/peers/FunctionDecl.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/FunctionDeclaration.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/FunctionExpression.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/FunctionSignature.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/IRNode.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/Identifier.ts +14 -6
- package/build/libarkts-copy/src/generated/peers/IfStatement.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/ImportDeclaration.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/ImportDefaultSpecifier.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/ImportExpression.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/ImportNamespaceSpecifier.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/ImportSource.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/ImportSpecifier.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/IndexInfo.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/InterfaceDecl.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/LabelPair.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/LabelledStatement.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/Literal.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/LoopStatement.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/MaybeOptionalExpression.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/MemberExpression.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/MetaProperty.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/MethodDefinition.ts +23 -7
- package/build/libarkts-copy/src/generated/peers/NamedType.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/NewExpression.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/NullLiteral.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/NumberLiteral.ts +17 -7
- package/build/libarkts-copy/src/generated/peers/ObjectDescriptor.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/ObjectExpression.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/OmittedExpression.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/OpaqueTypeNode.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/OverloadDeclaration.ts +103 -0
- package/build/libarkts-copy/src/generated/peers/PrefixAssertionExpression.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/Program.ts +4 -2
- package/build/libarkts-copy/src/generated/peers/Property.ts +12 -6
- package/build/libarkts-copy/src/generated/peers/RegExpLiteral.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/ReturnStatement.ts +12 -6
- package/build/libarkts-copy/src/generated/peers/ScopeFindResult.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/ScriptFunction.ts +47 -14
- package/build/libarkts-copy/src/generated/peers/ScriptFunctionData.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/SequenceExpression.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/SignatureInfo.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/SourcePosition.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/SourceRange.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/SpreadElement.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/SrcDumper.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/Statement.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/StringLiteral.ts +12 -6
- package/build/libarkts-copy/src/generated/peers/SuggestionInfo.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/SuperExpression.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/SwitchCaseStatement.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/SwitchStatement.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSAnyKeyword.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSArrayType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSAsExpression.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSBigintKeyword.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSBooleanKeyword.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSClassImplements.ts +12 -6
- package/build/libarkts-copy/src/generated/peers/TSConditionalType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSConstructorType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSEnumDeclaration.ts +19 -6
- package/build/libarkts-copy/src/generated/peers/TSEnumMember.ts +12 -6
- package/build/libarkts-copy/src/generated/peers/TSExternalModuleReference.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSFunctionType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSImportEqualsDeclaration.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSImportType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSIndexSignature.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSIndexedAccessType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSInferType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSInterfaceBody.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSInterfaceDeclaration.ts +21 -8
- package/build/libarkts-copy/src/generated/peers/TSInterfaceHeritage.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSIntersectionType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSLiteralType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSMappedType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSMethodSignature.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSModuleBlock.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSModuleDeclaration.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSNamedTupleMember.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSNeverKeyword.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSNonNullExpression.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSNullKeyword.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSNumberKeyword.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSObjectKeyword.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSParameterProperty.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSParenthesizedType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSPropertySignature.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSQualifiedName.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSSignatureDeclaration.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSStringKeyword.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSThisType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSTupleType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSTypeAliasDeclaration.ts +42 -11
- package/build/libarkts-copy/src/generated/peers/TSTypeAssertion.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSTypeLiteral.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSTypeOperator.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSTypeParameter.ts +12 -6
- package/build/libarkts-copy/src/generated/peers/TSTypeParameterDeclaration.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSTypeParameterInstantiation.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSTypePredicate.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSTypeQuery.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSTypeReference.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSUndefinedKeyword.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSUnionType.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSUnknownKeyword.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TSVoidKeyword.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TaggedTemplateExpression.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TemplateElement.ts +12 -6
- package/build/libarkts-copy/src/generated/peers/TemplateLiteral.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/ThisExpression.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/ThrowStatement.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/TryStatement.ts +12 -6
- package/build/libarkts-copy/src/generated/peers/TypeNode.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/TypedAstNode.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/TypedStatement.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/TypeofExpression.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/UnaryExpression.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/UndefinedLiteral.ts +8 -4
- package/build/libarkts-copy/src/generated/peers/UpdateExpression.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/VReg.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/ValidationInfo.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/VariableDeclaration.ts +20 -8
- package/build/libarkts-copy/src/generated/peers/VariableDeclarator.ts +12 -6
- package/build/libarkts-copy/src/generated/peers/VerificationContext.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/VerifierMessage.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/WhileStatement.ts +9 -5
- package/build/libarkts-copy/src/generated/peers/YieldExpression.ts +9 -5
- package/build/libarkts-copy/src/index.ts +1 -4
- package/build/libarkts-copy/src/plugin-utils.ts +45 -32
- package/build/libarkts-copy/src/reexport-for-generated.ts +10 -1
- package/build/libarkts-copy/src/ts-api/factory/nodeFactory.ts +14 -14
- package/build/libarkts-copy/src/ts-api/index.ts +1 -1
- package/build/libarkts-copy/src/ts-api/types.ts +56 -56
- package/build/libarkts-copy/src/ts-api/utilities/private.ts +6 -6
- package/build/libarkts-copy/src/ts-api/utilities/public.ts +3 -3
- package/build/libarkts-copy/src/ts-api/visitor/visitor.ts +4 -4
- package/build/libarkts-copy/src/utils.ts +13 -159
- package/build/libarkts-copy/src/wrapper-compat/README.md +4 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/index.ts +5 -5
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ArrayExpression.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ArrowFunctionExpression.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/AssignmentExpression.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/BlockStatement.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/CallExpression.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ClassDeclaration.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ClassDefinition.ts +2 -2
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ClassProperty.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ETSFunctionType.ts +2 -2
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ETSImportDeclaration.ts +2 -2
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ETSParameterExpression.ts +2 -2
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ExpressionStatement.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/FunctionDeclaration.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/FunctionExpression.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/IfStatement.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/MemberExpression.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/MethodDefinition.ts +2 -2
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/NumberLiteral.ts +2 -2
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ObjectExpression.ts +3 -3
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/Property.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ScriptFunction.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/StructDeclaration.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TSInterfaceDeclaration.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TSTypeAliasDeclaration.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TSTypeParameter.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TryStatement.ts +3 -3
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/VariableDeclaration.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/VariableDeclarator.ts +2 -2
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/Diagnostic.ts +4 -5
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/DiagnosticInfo.ts +4 -3
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/DiagnosticKind.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/ImportPathManager.ts +2 -2
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/Program.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/SourcePosition.ts +2 -2
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/SourceRange.ts +2 -2
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/SuggestionInfo.ts +4 -3
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/to-be-generated/MemberExpression.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/types.ts +12 -30
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/utilities/nativePtrDecoder.ts +1 -1
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/utilities/private.ts +4 -4
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/utilities/public.ts +10 -8
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/visitor.ts +10 -10
- package/lib/index.js +2799 -2665
- package/package.json +2 -2
- package/templates/Es2pandaEnums.ts +1 -2
- package/templates/Es2pandaNativeModule.ts +2 -3
- package/templates/factory.ts +1 -2
- package/templates/index.ts +1 -2
- package/templates/node-map.ts +1 -2
- package/templates/peer.ts +1 -2
- package/build/libarkts-copy/src/arkts-api/CheckedBackFilter.ts +0 -131
- package/build/libarkts-copy/src/arkts-api/CompileWithCache.ts +0 -193
- package/build/libarkts-copy/src/arkts-api/InferVoidReturnType.ts +0 -89
- package/build/libarkts-copy/src/arkts-api/SetBaseOverloads.ts +0 -44
- package/build/libarkts-copy/src/arkts-api/node-utilities/AnnotationUsage.ts +0 -29
- package/build/libarkts-copy/src/arkts-api/node-utilities/ArrowFunctionExpression.ts +0 -49
- package/build/libarkts-copy/src/arkts-api/node-utilities/ClassDeclaration.ts +0 -54
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSTypeAliasDeclaration.ts +0 -68
- package/build/libarkts-copy/src/arkts-api/node-utilities/VariableDeclaration.ts +0 -54
- package/build/libarkts-copy/src/arkts-api/utilities/method-definition.ts +0 -38
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/ArktsObject.ts +0 -45
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/Config.ts +0 -53
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/Context.ts +0 -60
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
|
-
* THIS FILE IS AUTOGENERATED BY arktscgen
|
|
18
|
-
* es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
|
|
17
|
+
* THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
|
|
19
18
|
*/
|
|
20
19
|
|
|
21
20
|
import {
|
|
@@ -37,16 +36,21 @@ import { ETSTypeReferencePart } from "./ETSTypeReferencePart"
|
|
|
37
36
|
import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
38
37
|
import { Identifier } from "./Identifier"
|
|
39
38
|
import { TypeNode } from "./TypeNode"
|
|
39
|
+
|
|
40
40
|
export class ETSTypeReference extends TypeNode {
|
|
41
41
|
constructor(pointer: KNativePointer) {
|
|
42
|
-
assertValidPeer(pointer,
|
|
42
|
+
assertValidPeer(pointer, 74)
|
|
43
43
|
super(pointer)
|
|
44
44
|
}
|
|
45
45
|
static createETSTypeReference(part?: ETSTypeReferencePart): ETSTypeReference {
|
|
46
|
-
|
|
46
|
+
const result: ETSTypeReference = new ETSTypeReference(global.generatedEs2panda._CreateETSTypeReference(global.context, passNode(part)))
|
|
47
|
+
result.setChildrenParentPtr()
|
|
48
|
+
return result
|
|
47
49
|
}
|
|
48
50
|
static updateETSTypeReference(original?: ETSTypeReference, part?: ETSTypeReferencePart): ETSTypeReference {
|
|
49
|
-
|
|
51
|
+
const result: ETSTypeReference = new ETSTypeReference(global.generatedEs2panda._UpdateETSTypeReference(global.context, passNode(original), passNode(part)))
|
|
52
|
+
result.setChildrenParentPtr()
|
|
53
|
+
return result
|
|
50
54
|
}
|
|
51
55
|
get part(): ETSTypeReferencePart | undefined {
|
|
52
56
|
return unpackNode(global.generatedEs2panda._ETSTypeReferencePart(global.context, this.peer))
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
|
-
* THIS FILE IS AUTOGENERATED BY arktscgen
|
|
18
|
-
* es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
|
|
17
|
+
* THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
|
|
19
18
|
*/
|
|
20
19
|
|
|
21
20
|
import {
|
|
@@ -38,19 +37,26 @@ import { Expression } from "./Expression"
|
|
|
38
37
|
import { Identifier } from "./Identifier"
|
|
39
38
|
import { TSTypeParameterInstantiation } from "./TSTypeParameterInstantiation"
|
|
40
39
|
import { TypeNode } from "./TypeNode"
|
|
40
|
+
|
|
41
41
|
export class ETSTypeReferencePart extends TypeNode {
|
|
42
42
|
constructor(pointer: KNativePointer) {
|
|
43
|
-
assertValidPeer(pointer,
|
|
43
|
+
assertValidPeer(pointer, 75)
|
|
44
44
|
super(pointer)
|
|
45
45
|
}
|
|
46
46
|
static createETSTypeReferencePart(name?: Expression, typeParams?: TSTypeParameterInstantiation, prev?: ETSTypeReferencePart): ETSTypeReferencePart {
|
|
47
|
-
|
|
47
|
+
const result: ETSTypeReferencePart = new ETSTypeReferencePart(global.generatedEs2panda._CreateETSTypeReferencePart(global.context, passNode(name), passNode(typeParams), passNode(prev)))
|
|
48
|
+
result.setChildrenParentPtr()
|
|
49
|
+
return result
|
|
48
50
|
}
|
|
49
51
|
static updateETSTypeReferencePart(original?: ETSTypeReferencePart, name?: Expression, typeParams?: TSTypeParameterInstantiation, prev?: ETSTypeReferencePart): ETSTypeReferencePart {
|
|
50
|
-
|
|
52
|
+
const result: ETSTypeReferencePart = new ETSTypeReferencePart(global.generatedEs2panda._UpdateETSTypeReferencePart(global.context, passNode(original), passNode(name), passNode(typeParams), passNode(prev)))
|
|
53
|
+
result.setChildrenParentPtr()
|
|
54
|
+
return result
|
|
51
55
|
}
|
|
52
56
|
static update1ETSTypeReferencePart(original?: ETSTypeReferencePart, name?: Expression): ETSTypeReferencePart {
|
|
53
|
-
|
|
57
|
+
const result: ETSTypeReferencePart = new ETSTypeReferencePart(global.generatedEs2panda._UpdateETSTypeReferencePart1(global.context, passNode(original), passNode(name)))
|
|
58
|
+
result.setChildrenParentPtr()
|
|
59
|
+
return result
|
|
54
60
|
}
|
|
55
61
|
get previous(): ETSTypeReferencePart | undefined {
|
|
56
62
|
return unpackNode(global.generatedEs2panda._ETSTypeReferencePartPrevious(global.context, this.peer))
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
|
-
* THIS FILE IS AUTOGENERATED BY arktscgen
|
|
18
|
-
* es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
|
|
17
|
+
* THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
|
|
19
18
|
*/
|
|
20
19
|
|
|
21
20
|
import {
|
|
@@ -35,16 +34,21 @@ import {
|
|
|
35
34
|
|
|
36
35
|
import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
37
36
|
import { TypeNode } from "./TypeNode"
|
|
37
|
+
|
|
38
38
|
export class ETSUndefinedType extends TypeNode {
|
|
39
39
|
constructor(pointer: KNativePointer) {
|
|
40
|
-
assertValidPeer(pointer,
|
|
40
|
+
assertValidPeer(pointer, 65)
|
|
41
41
|
super(pointer)
|
|
42
42
|
}
|
|
43
43
|
static createETSUndefinedType(): ETSUndefinedType {
|
|
44
|
-
|
|
44
|
+
const result: ETSUndefinedType = new ETSUndefinedType(global.generatedEs2panda._CreateETSUndefinedType(global.context))
|
|
45
|
+
result.setChildrenParentPtr()
|
|
46
|
+
return result
|
|
45
47
|
}
|
|
46
48
|
static updateETSUndefinedType(original?: ETSUndefinedType): ETSUndefinedType {
|
|
47
|
-
|
|
49
|
+
const result: ETSUndefinedType = new ETSUndefinedType(global.generatedEs2panda._UpdateETSUndefinedType(global.context, passNode(original)))
|
|
50
|
+
result.setChildrenParentPtr()
|
|
51
|
+
return result
|
|
48
52
|
}
|
|
49
53
|
protected readonly brandETSUndefinedType: undefined
|
|
50
54
|
}
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
|
-
* THIS FILE IS AUTOGENERATED BY arktscgen
|
|
18
|
-
* es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
|
|
17
|
+
* THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
|
|
19
18
|
*/
|
|
20
19
|
|
|
21
20
|
import {
|
|
@@ -33,18 +32,32 @@ import {
|
|
|
33
32
|
unpackString
|
|
34
33
|
} from "../../reexport-for-generated"
|
|
35
34
|
|
|
35
|
+
import { AnnotationUsage } from "./AnnotationUsage"
|
|
36
36
|
import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
37
37
|
import { TypeNode } from "./TypeNode"
|
|
38
|
+
|
|
38
39
|
export class ETSUnionType extends TypeNode {
|
|
39
40
|
constructor(pointer: KNativePointer) {
|
|
40
|
-
assertValidPeer(pointer,
|
|
41
|
+
assertValidPeer(pointer, 76)
|
|
41
42
|
super(pointer)
|
|
42
43
|
}
|
|
43
|
-
static createETSUnionType(types: readonly TypeNode[]): ETSUnionType {
|
|
44
|
-
|
|
44
|
+
static createETSUnionType(types: readonly TypeNode[], annotations?: readonly AnnotationUsage[]): ETSUnionType {
|
|
45
|
+
const result: ETSUnionType = new ETSUnionType(global.generatedEs2panda._CreateETSUnionType(global.context, passNodeArray(types), types.length))
|
|
46
|
+
if (annotations)
|
|
47
|
+
{
|
|
48
|
+
result.setAnnotations(annotations)
|
|
49
|
+
}
|
|
50
|
+
result.setChildrenParentPtr()
|
|
51
|
+
return result
|
|
45
52
|
}
|
|
46
|
-
static updateETSUnionType(original: ETSUnionType | undefined, types: readonly TypeNode[]): ETSUnionType {
|
|
47
|
-
|
|
53
|
+
static updateETSUnionType(original: ETSUnionType | undefined, types: readonly TypeNode[], annotations?: readonly AnnotationUsage[]): ETSUnionType {
|
|
54
|
+
const result: ETSUnionType = new ETSUnionType(global.generatedEs2panda._UpdateETSUnionType(global.context, passNode(original), passNodeArray(types), types.length))
|
|
55
|
+
if (annotations)
|
|
56
|
+
{
|
|
57
|
+
result.setAnnotations(annotations)
|
|
58
|
+
}
|
|
59
|
+
result.setChildrenParentPtr()
|
|
60
|
+
return result
|
|
48
61
|
}
|
|
49
62
|
get types(): readonly TypeNode[] {
|
|
50
63
|
return unpackNodeArray(global.generatedEs2panda._ETSUnionTypeTypesConst(global.context, this.peer))
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
|
-
* THIS FILE IS AUTOGENERATED BY arktscgen
|
|
18
|
-
* es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
|
|
17
|
+
* THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
|
|
19
18
|
*/
|
|
20
19
|
|
|
21
20
|
import {
|
|
@@ -37,16 +36,21 @@ import { ETSTypeReference } from "./ETSTypeReference"
|
|
|
37
36
|
import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
38
37
|
import { Es2pandaModifierFlags } from "./../Es2pandaEnums"
|
|
39
38
|
import { TypeNode } from "./TypeNode"
|
|
39
|
+
|
|
40
40
|
export class ETSWildcardType extends TypeNode {
|
|
41
41
|
constructor(pointer: KNativePointer) {
|
|
42
|
-
assertValidPeer(pointer,
|
|
42
|
+
assertValidPeer(pointer, 70)
|
|
43
43
|
super(pointer)
|
|
44
44
|
}
|
|
45
45
|
static createETSWildcardType(typeReference: ETSTypeReference | undefined, flags: Es2pandaModifierFlags): ETSWildcardType {
|
|
46
|
-
|
|
46
|
+
const result: ETSWildcardType = new ETSWildcardType(global.generatedEs2panda._CreateETSWildcardType(global.context, passNode(typeReference), flags))
|
|
47
|
+
result.setChildrenParentPtr()
|
|
48
|
+
return result
|
|
47
49
|
}
|
|
48
50
|
static updateETSWildcardType(original: ETSWildcardType | undefined, typeReference: ETSTypeReference | undefined, flags: Es2pandaModifierFlags): ETSWildcardType {
|
|
49
|
-
|
|
51
|
+
const result: ETSWildcardType = new ETSWildcardType(global.generatedEs2panda._UpdateETSWildcardType(global.context, passNode(original), passNode(typeReference), flags))
|
|
52
|
+
result.setChildrenParentPtr()
|
|
53
|
+
return result
|
|
50
54
|
}
|
|
51
55
|
get typeReference(): ETSTypeReference | undefined {
|
|
52
56
|
return unpackNode(global.generatedEs2panda._ETSWildcardTypeTypeReference(global.context, this.peer))
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
|
-
* THIS FILE IS AUTOGENERATED BY arktscgen
|
|
18
|
-
* es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
|
|
17
|
+
* THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
|
|
19
18
|
*/
|
|
20
19
|
|
|
21
20
|
import {
|
|
@@ -35,19 +34,26 @@ import {
|
|
|
35
34
|
|
|
36
35
|
import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
37
36
|
import { Statement } from "./Statement"
|
|
37
|
+
|
|
38
38
|
export class EmptyStatement extends Statement {
|
|
39
39
|
constructor(pointer: KNativePointer) {
|
|
40
40
|
assertValidPeer(pointer, 25)
|
|
41
41
|
super(pointer)
|
|
42
42
|
}
|
|
43
43
|
static create1EmptyStatement(isBrokenStatement: boolean): EmptyStatement {
|
|
44
|
-
|
|
44
|
+
const result: EmptyStatement = new EmptyStatement(global.generatedEs2panda._CreateEmptyStatement1(global.context, isBrokenStatement))
|
|
45
|
+
result.setChildrenParentPtr()
|
|
46
|
+
return result
|
|
45
47
|
}
|
|
46
48
|
static updateEmptyStatement(original?: EmptyStatement): EmptyStatement {
|
|
47
|
-
|
|
49
|
+
const result: EmptyStatement = new EmptyStatement(global.generatedEs2panda._UpdateEmptyStatement(global.context, passNode(original)))
|
|
50
|
+
result.setChildrenParentPtr()
|
|
51
|
+
return result
|
|
48
52
|
}
|
|
49
53
|
static update1EmptyStatement(original: EmptyStatement | undefined, isBrokenStatement: boolean): EmptyStatement {
|
|
50
|
-
|
|
54
|
+
const result: EmptyStatement = new EmptyStatement(global.generatedEs2panda._UpdateEmptyStatement1(global.context, passNode(original), isBrokenStatement))
|
|
55
|
+
result.setChildrenParentPtr()
|
|
56
|
+
return result
|
|
51
57
|
}
|
|
52
58
|
get isBrokenStatement(): boolean {
|
|
53
59
|
return global.generatedEs2panda._EmptyStatementIsBrokenStatement(global.context, this.peer)
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
|
-
* THIS FILE IS AUTOGENERATED BY arktscgen
|
|
18
|
-
* es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
|
|
17
|
+
* THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
|
|
19
18
|
*/
|
|
20
19
|
|
|
21
20
|
import {
|
|
@@ -33,6 +32,7 @@ import {
|
|
|
33
32
|
unpackString
|
|
34
33
|
} from "../../reexport-for-generated"
|
|
35
34
|
|
|
35
|
+
|
|
36
36
|
export class ErrorLogger extends ArktsObject {
|
|
37
37
|
constructor(pointer: KNativePointer) {
|
|
38
38
|
super(pointer)
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
|
-
* THIS FILE IS AUTOGENERATED BY arktscgen
|
|
18
|
-
* es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
|
|
17
|
+
* THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
|
|
19
18
|
*/
|
|
20
19
|
|
|
21
20
|
import {
|
|
@@ -37,16 +36,21 @@ import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
|
37
36
|
import { Identifier } from "./Identifier"
|
|
38
37
|
import { Statement } from "./Statement"
|
|
39
38
|
import { StringLiteral } from "./StringLiteral"
|
|
39
|
+
|
|
40
40
|
export class ExportAllDeclaration extends Statement {
|
|
41
41
|
constructor(pointer: KNativePointer) {
|
|
42
42
|
assertValidPeer(pointer, 26)
|
|
43
43
|
super(pointer)
|
|
44
44
|
}
|
|
45
45
|
static createExportAllDeclaration(source?: StringLiteral, exported?: Identifier): ExportAllDeclaration {
|
|
46
|
-
|
|
46
|
+
const result: ExportAllDeclaration = new ExportAllDeclaration(global.generatedEs2panda._CreateExportAllDeclaration(global.context, passNode(source), passNode(exported)))
|
|
47
|
+
result.setChildrenParentPtr()
|
|
48
|
+
return result
|
|
47
49
|
}
|
|
48
50
|
static updateExportAllDeclaration(original?: ExportAllDeclaration, source?: StringLiteral, exported?: Identifier): ExportAllDeclaration {
|
|
49
|
-
|
|
51
|
+
const result: ExportAllDeclaration = new ExportAllDeclaration(global.generatedEs2panda._UpdateExportAllDeclaration(global.context, passNode(original), passNode(source), passNode(exported)))
|
|
52
|
+
result.setChildrenParentPtr()
|
|
53
|
+
return result
|
|
50
54
|
}
|
|
51
55
|
get source(): StringLiteral | undefined {
|
|
52
56
|
return unpackNode(global.generatedEs2panda._ExportAllDeclarationSourceConst(global.context, this.peer))
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
|
-
* THIS FILE IS AUTOGENERATED BY arktscgen
|
|
18
|
-
* es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
|
|
17
|
+
* THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
|
|
19
18
|
*/
|
|
20
19
|
|
|
21
20
|
import {
|
|
@@ -35,16 +34,21 @@ import {
|
|
|
35
34
|
|
|
36
35
|
import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
37
36
|
import { Statement } from "./Statement"
|
|
37
|
+
|
|
38
38
|
export class ExportDefaultDeclaration extends Statement {
|
|
39
39
|
constructor(pointer: KNativePointer) {
|
|
40
40
|
assertValidPeer(pointer, 27)
|
|
41
41
|
super(pointer)
|
|
42
42
|
}
|
|
43
43
|
static createExportDefaultDeclaration(decl: AstNode | undefined, exportEquals: boolean): ExportDefaultDeclaration {
|
|
44
|
-
|
|
44
|
+
const result: ExportDefaultDeclaration = new ExportDefaultDeclaration(global.generatedEs2panda._CreateExportDefaultDeclaration(global.context, passNode(decl), exportEquals))
|
|
45
|
+
result.setChildrenParentPtr()
|
|
46
|
+
return result
|
|
45
47
|
}
|
|
46
48
|
static updateExportDefaultDeclaration(original: ExportDefaultDeclaration | undefined, decl: AstNode | undefined, exportEquals: boolean): ExportDefaultDeclaration {
|
|
47
|
-
|
|
49
|
+
const result: ExportDefaultDeclaration = new ExportDefaultDeclaration(global.generatedEs2panda._UpdateExportDefaultDeclaration(global.context, passNode(original), passNode(decl), exportEquals))
|
|
50
|
+
result.setChildrenParentPtr()
|
|
51
|
+
return result
|
|
48
52
|
}
|
|
49
53
|
get decl(): AstNode | undefined {
|
|
50
54
|
return unpackNode(global.generatedEs2panda._ExportDefaultDeclarationDecl(global.context, this.peer))
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
|
-
* THIS FILE IS AUTOGENERATED BY arktscgen
|
|
18
|
-
* es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
|
|
17
|
+
* THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
|
|
19
18
|
*/
|
|
20
19
|
|
|
21
20
|
import {
|
|
@@ -37,28 +36,41 @@ import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
|
37
36
|
import { ExportSpecifier } from "./ExportSpecifier"
|
|
38
37
|
import { Statement } from "./Statement"
|
|
39
38
|
import { StringLiteral } from "./StringLiteral"
|
|
39
|
+
|
|
40
40
|
export class ExportNamedDeclaration extends Statement {
|
|
41
41
|
constructor(pointer: KNativePointer) {
|
|
42
42
|
assertValidPeer(pointer, 28)
|
|
43
43
|
super(pointer)
|
|
44
44
|
}
|
|
45
45
|
static createExportNamedDeclaration(source: StringLiteral | undefined, specifiers: readonly ExportSpecifier[]): ExportNamedDeclaration {
|
|
46
|
-
|
|
46
|
+
const result: ExportNamedDeclaration = new ExportNamedDeclaration(global.generatedEs2panda._CreateExportNamedDeclaration(global.context, passNode(source), passNodeArray(specifiers), specifiers.length))
|
|
47
|
+
result.setChildrenParentPtr()
|
|
48
|
+
return result
|
|
47
49
|
}
|
|
48
50
|
static updateExportNamedDeclaration(original: ExportNamedDeclaration | undefined, source: StringLiteral | undefined, specifiers: readonly ExportSpecifier[]): ExportNamedDeclaration {
|
|
49
|
-
|
|
51
|
+
const result: ExportNamedDeclaration = new ExportNamedDeclaration(global.generatedEs2panda._UpdateExportNamedDeclaration(global.context, passNode(original), passNode(source), passNodeArray(specifiers), specifiers.length))
|
|
52
|
+
result.setChildrenParentPtr()
|
|
53
|
+
return result
|
|
50
54
|
}
|
|
51
55
|
static create1ExportNamedDeclaration(decl: AstNode | undefined, specifiers: readonly ExportSpecifier[]): ExportNamedDeclaration {
|
|
52
|
-
|
|
56
|
+
const result: ExportNamedDeclaration = new ExportNamedDeclaration(global.generatedEs2panda._CreateExportNamedDeclaration1(global.context, passNode(decl), passNodeArray(specifiers), specifiers.length))
|
|
57
|
+
result.setChildrenParentPtr()
|
|
58
|
+
return result
|
|
53
59
|
}
|
|
54
60
|
static update1ExportNamedDeclaration(original: ExportNamedDeclaration | undefined, decl: AstNode | undefined, specifiers: readonly ExportSpecifier[]): ExportNamedDeclaration {
|
|
55
|
-
|
|
61
|
+
const result: ExportNamedDeclaration = new ExportNamedDeclaration(global.generatedEs2panda._UpdateExportNamedDeclaration1(global.context, passNode(original), passNode(decl), passNodeArray(specifiers), specifiers.length))
|
|
62
|
+
result.setChildrenParentPtr()
|
|
63
|
+
return result
|
|
56
64
|
}
|
|
57
65
|
static create2ExportNamedDeclaration(decl?: AstNode): ExportNamedDeclaration {
|
|
58
|
-
|
|
66
|
+
const result: ExportNamedDeclaration = new ExportNamedDeclaration(global.generatedEs2panda._CreateExportNamedDeclaration2(global.context, passNode(decl)))
|
|
67
|
+
result.setChildrenParentPtr()
|
|
68
|
+
return result
|
|
59
69
|
}
|
|
60
70
|
static update2ExportNamedDeclaration(original?: ExportNamedDeclaration, decl?: AstNode): ExportNamedDeclaration {
|
|
61
|
-
|
|
71
|
+
const result: ExportNamedDeclaration = new ExportNamedDeclaration(global.generatedEs2panda._UpdateExportNamedDeclaration2(global.context, passNode(original), passNode(decl)))
|
|
72
|
+
result.setChildrenParentPtr()
|
|
73
|
+
return result
|
|
62
74
|
}
|
|
63
75
|
get decl(): AstNode | undefined {
|
|
64
76
|
return unpackNode(global.generatedEs2panda._ExportNamedDeclarationDeclConst(global.context, this.peer))
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
|
-
* THIS FILE IS AUTOGENERATED BY arktscgen
|
|
18
|
-
* es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
|
|
17
|
+
* THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
|
|
19
18
|
*/
|
|
20
19
|
|
|
21
20
|
import {
|
|
@@ -37,16 +36,21 @@ import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
|
37
36
|
import { Expression } from "./Expression"
|
|
38
37
|
import { Identifier } from "./Identifier"
|
|
39
38
|
import { Statement } from "./Statement"
|
|
39
|
+
|
|
40
40
|
export class ExportSpecifier extends Statement {
|
|
41
41
|
constructor(pointer: KNativePointer) {
|
|
42
42
|
assertValidPeer(pointer, 29)
|
|
43
43
|
super(pointer)
|
|
44
44
|
}
|
|
45
45
|
static createExportSpecifier(local?: Identifier, exported?: Identifier): ExportSpecifier {
|
|
46
|
-
|
|
46
|
+
const result: ExportSpecifier = new ExportSpecifier(global.generatedEs2panda._CreateExportSpecifier(global.context, passNode(local), passNode(exported)))
|
|
47
|
+
result.setChildrenParentPtr()
|
|
48
|
+
return result
|
|
47
49
|
}
|
|
48
50
|
static updateExportSpecifier(original?: ExportSpecifier, local?: Identifier, exported?: Identifier): ExportSpecifier {
|
|
49
|
-
|
|
51
|
+
const result: ExportSpecifier = new ExportSpecifier(global.generatedEs2panda._UpdateExportSpecifier(global.context, passNode(original), passNode(local), passNode(exported)))
|
|
52
|
+
result.setChildrenParentPtr()
|
|
53
|
+
return result
|
|
50
54
|
}
|
|
51
55
|
get local(): Identifier | undefined {
|
|
52
56
|
return unpackNode(global.generatedEs2panda._ExportSpecifierLocalConst(global.context, this.peer))
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
|
-
* THIS FILE IS AUTOGENERATED BY arktscgen
|
|
18
|
-
* es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
|
|
17
|
+
* THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
|
|
19
18
|
*/
|
|
20
19
|
|
|
21
20
|
import {
|
|
@@ -37,6 +36,7 @@ import { AnnotatedExpression } from "./AnnotatedExpression"
|
|
|
37
36
|
import { Literal } from "./Literal"
|
|
38
37
|
import { TypeNode } from "./TypeNode"
|
|
39
38
|
import { TypedAstNode } from "./TypedAstNode"
|
|
39
|
+
|
|
40
40
|
export class Expression extends TypedAstNode {
|
|
41
41
|
constructor(pointer: KNativePointer) {
|
|
42
42
|
super(pointer)
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
|
-
* THIS FILE IS AUTOGENERATED BY arktscgen
|
|
18
|
-
* es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
|
|
17
|
+
* THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
|
|
19
18
|
*/
|
|
20
19
|
|
|
21
20
|
import {
|
|
@@ -36,16 +35,21 @@ import {
|
|
|
36
35
|
import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
37
36
|
import { Expression } from "./Expression"
|
|
38
37
|
import { Statement } from "./Statement"
|
|
38
|
+
|
|
39
39
|
export class ExpressionStatement extends Statement {
|
|
40
40
|
constructor(pointer: KNativePointer) {
|
|
41
41
|
assertValidPeer(pointer, 30)
|
|
42
42
|
super(pointer)
|
|
43
43
|
}
|
|
44
44
|
static createExpressionStatement(expr?: Expression): ExpressionStatement {
|
|
45
|
-
|
|
45
|
+
const result: ExpressionStatement = new ExpressionStatement(global.generatedEs2panda._CreateExpressionStatement(global.context, passNode(expr)))
|
|
46
|
+
result.setChildrenParentPtr()
|
|
47
|
+
return result
|
|
46
48
|
}
|
|
47
49
|
static updateExpressionStatement(original?: ExpressionStatement, expr?: Expression): ExpressionStatement {
|
|
48
|
-
|
|
50
|
+
const result: ExpressionStatement = new ExpressionStatement(global.generatedEs2panda._UpdateExpressionStatement(global.context, passNode(original), passNode(expr)))
|
|
51
|
+
result.setChildrenParentPtr()
|
|
52
|
+
return result
|
|
49
53
|
}
|
|
50
54
|
get expression(): Expression | undefined {
|
|
51
55
|
return unpackNode(global.generatedEs2panda._ExpressionStatementGetExpression(global.context, this.peer))
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
|
-
* THIS FILE IS AUTOGENERATED BY arktscgen
|
|
18
|
-
* es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
|
|
17
|
+
* THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
|
|
19
18
|
*/
|
|
20
19
|
|
|
21
20
|
import {
|
|
@@ -37,16 +36,21 @@ import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
|
37
36
|
import { Expression } from "./Expression"
|
|
38
37
|
import { LoopStatement } from "./LoopStatement"
|
|
39
38
|
import { Statement } from "./Statement"
|
|
39
|
+
|
|
40
40
|
export class ForInStatement extends LoopStatement {
|
|
41
41
|
constructor(pointer: KNativePointer) {
|
|
42
42
|
assertValidPeer(pointer, 31)
|
|
43
43
|
super(pointer)
|
|
44
44
|
}
|
|
45
45
|
static createForInStatement(left?: AstNode, right?: Expression, body?: Statement): ForInStatement {
|
|
46
|
-
|
|
46
|
+
const result: ForInStatement = new ForInStatement(global.generatedEs2panda._CreateForInStatement(global.context, passNode(left), passNode(right), passNode(body)))
|
|
47
|
+
result.setChildrenParentPtr()
|
|
48
|
+
return result
|
|
47
49
|
}
|
|
48
50
|
static updateForInStatement(original?: ForInStatement, left?: AstNode, right?: Expression, body?: Statement): ForInStatement {
|
|
49
|
-
|
|
51
|
+
const result: ForInStatement = new ForInStatement(global.generatedEs2panda._UpdateForInStatement(global.context, passNode(original), passNode(left), passNode(right), passNode(body)))
|
|
52
|
+
result.setChildrenParentPtr()
|
|
53
|
+
return result
|
|
50
54
|
}
|
|
51
55
|
get left(): AstNode | undefined {
|
|
52
56
|
return unpackNode(global.generatedEs2panda._ForInStatementLeft(global.context, this.peer))
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
|
-
* THIS FILE IS AUTOGENERATED BY arktscgen
|
|
18
|
-
* es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
|
|
17
|
+
* THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
|
|
19
18
|
*/
|
|
20
19
|
|
|
21
20
|
import {
|
|
@@ -37,16 +36,21 @@ import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
|
37
36
|
import { Expression } from "./Expression"
|
|
38
37
|
import { LoopStatement } from "./LoopStatement"
|
|
39
38
|
import { Statement } from "./Statement"
|
|
39
|
+
|
|
40
40
|
export class ForOfStatement extends LoopStatement {
|
|
41
41
|
constructor(pointer: KNativePointer) {
|
|
42
42
|
assertValidPeer(pointer, 32)
|
|
43
43
|
super(pointer)
|
|
44
44
|
}
|
|
45
45
|
static createForOfStatement(left: AstNode | undefined, right: Expression | undefined, body: Statement | undefined, isAwait: boolean): ForOfStatement {
|
|
46
|
-
|
|
46
|
+
const result: ForOfStatement = new ForOfStatement(global.generatedEs2panda._CreateForOfStatement(global.context, passNode(left), passNode(right), passNode(body), isAwait))
|
|
47
|
+
result.setChildrenParentPtr()
|
|
48
|
+
return result
|
|
47
49
|
}
|
|
48
50
|
static updateForOfStatement(original: ForOfStatement | undefined, left: AstNode | undefined, right: Expression | undefined, body: Statement | undefined, isAwait: boolean): ForOfStatement {
|
|
49
|
-
|
|
51
|
+
const result: ForOfStatement = new ForOfStatement(global.generatedEs2panda._UpdateForOfStatement(global.context, passNode(original), passNode(left), passNode(right), passNode(body), isAwait))
|
|
52
|
+
result.setChildrenParentPtr()
|
|
53
|
+
return result
|
|
50
54
|
}
|
|
51
55
|
get left(): AstNode | undefined {
|
|
52
56
|
return unpackNode(global.generatedEs2panda._ForOfStatementLeft(global.context, this.peer))
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
|
-
* THIS FILE IS AUTOGENERATED BY arktscgen
|
|
18
|
-
* es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
|
|
17
|
+
* THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
|
|
19
18
|
*/
|
|
20
19
|
|
|
21
20
|
import {
|
|
@@ -37,13 +36,16 @@ import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
|
37
36
|
import { Expression } from "./Expression"
|
|
38
37
|
import { LoopStatement } from "./LoopStatement"
|
|
39
38
|
import { Statement } from "./Statement"
|
|
39
|
+
|
|
40
40
|
export class ForUpdateStatement extends LoopStatement {
|
|
41
41
|
constructor(pointer: KNativePointer) {
|
|
42
42
|
assertValidPeer(pointer, 33)
|
|
43
43
|
super(pointer)
|
|
44
44
|
}
|
|
45
45
|
static createForUpdateStatement(init?: AstNode, test?: Expression, update?: Expression, body?: Statement): ForUpdateStatement {
|
|
46
|
-
|
|
46
|
+
const result: ForUpdateStatement = new ForUpdateStatement(global.generatedEs2panda._CreateForUpdateStatement(global.context, passNode(init), passNode(test), passNode(update), passNode(body)))
|
|
47
|
+
result.setChildrenParentPtr()
|
|
48
|
+
return result
|
|
47
49
|
}
|
|
48
50
|
get init(): AstNode | undefined {
|
|
49
51
|
return unpackNode(global.generatedEs2panda._ForUpdateStatementInit(global.context, this.peer))
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
|
-
* THIS FILE IS AUTOGENERATED BY arktscgen
|
|
18
|
-
* es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
|
|
17
|
+
* THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
|
|
19
18
|
*/
|
|
20
19
|
|
|
21
20
|
import {
|
|
@@ -34,6 +33,7 @@ import {
|
|
|
34
33
|
} from "../../reexport-for-generated"
|
|
35
34
|
|
|
36
35
|
import { ScriptFunction } from "./ScriptFunction"
|
|
36
|
+
|
|
37
37
|
export class FunctionDecl extends ScriptFunction {
|
|
38
38
|
constructor(pointer: KNativePointer) {
|
|
39
39
|
super(pointer)
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
|
-
* THIS FILE IS AUTOGENERATED BY arktscgen
|
|
18
|
-
* es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
|
|
17
|
+
* THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
|
|
19
18
|
*/
|
|
20
19
|
|
|
21
20
|
import {
|
|
@@ -38,19 +37,26 @@ import { Decorator } from "./Decorator"
|
|
|
38
37
|
import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
39
38
|
import { ScriptFunction } from "./ScriptFunction"
|
|
40
39
|
import { Statement } from "./Statement"
|
|
40
|
+
|
|
41
41
|
export class FunctionDeclaration extends Statement {
|
|
42
42
|
constructor(pointer: KNativePointer) {
|
|
43
43
|
assertValidPeer(pointer, 34)
|
|
44
44
|
super(pointer)
|
|
45
45
|
}
|
|
46
46
|
static createFunctionDeclaration(func: ScriptFunction | undefined, annotations: readonly AnnotationUsage[], isAnonymous: boolean): FunctionDeclaration {
|
|
47
|
-
|
|
47
|
+
const result: FunctionDeclaration = new FunctionDeclaration(global.generatedEs2panda._CreateFunctionDeclaration(global.context, passNode(func), passNodeArray(annotations), annotations.length, isAnonymous))
|
|
48
|
+
result.setChildrenParentPtr()
|
|
49
|
+
return result
|
|
48
50
|
}
|
|
49
51
|
static updateFunctionDeclaration(original: FunctionDeclaration | undefined, func: ScriptFunction | undefined, annotations: readonly AnnotationUsage[], isAnonymous: boolean): FunctionDeclaration {
|
|
50
|
-
|
|
52
|
+
const result: FunctionDeclaration = new FunctionDeclaration(global.generatedEs2panda._UpdateFunctionDeclaration(global.context, passNode(original), passNode(func), passNodeArray(annotations), annotations.length, isAnonymous))
|
|
53
|
+
result.setChildrenParentPtr()
|
|
54
|
+
return result
|
|
51
55
|
}
|
|
52
56
|
static update1FunctionDeclaration(original: FunctionDeclaration | undefined, func: ScriptFunction | undefined, isAnonymous: boolean): FunctionDeclaration {
|
|
53
|
-
|
|
57
|
+
const result: FunctionDeclaration = new FunctionDeclaration(global.generatedEs2panda._UpdateFunctionDeclaration1(global.context, passNode(original), passNode(func), isAnonymous))
|
|
58
|
+
result.setChildrenParentPtr()
|
|
59
|
+
return result
|
|
54
60
|
}
|
|
55
61
|
get function(): ScriptFunction | undefined {
|
|
56
62
|
return unpackNode(global.generatedEs2panda._FunctionDeclarationFunction(global.context, this.peer))
|