@idlizer/arktscgen 2.1.7 → 2.1.9-arktscgen-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/libarkts-copy/generator/options.json5 +34 -0
- package/build/libarkts-copy/native/meson.build +128 -75
- package/build/libarkts-copy/native/meson_options.txt +6 -0
- package/build/libarkts-copy/native/src/bridges.cc +271 -8
- package/build/libarkts-copy/native/src/common.cc +166 -45
- package/build/libarkts-copy/native/src/common.h +53 -8
- package/build/libarkts-copy/native/src/generated/bridges.cc +2654 -319
- package/build/libarkts-copy/package.json +31 -17
- package/build/libarkts-copy/src/Es2pandaNativeModule.ts +97 -3
- package/build/libarkts-copy/src/arkts-api/AbstractVisitor.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/ChainExpressionFilter.ts +78 -0
- package/build/libarkts-copy/src/arkts-api/CheckedBackFilter.ts +86 -8
- package/build/libarkts-copy/src/arkts-api/CompileWithCache.ts +193 -0
- package/build/libarkts-copy/src/arkts-api/ImportStorage.ts +78 -0
- package/build/libarkts-copy/src/arkts-api/InferVoidReturnType.ts +89 -0
- package/build/libarkts-copy/src/arkts-api/ProgramProvider.ts +50 -0
- package/build/libarkts-copy/src/arkts-api/SetBaseOverloads.ts +10 -17
- package/build/libarkts-copy/src/arkts-api/class-by-peer.ts +2 -3
- package/build/libarkts-copy/src/arkts-api/factory/nodeFactory.ts +89 -6
- package/build/libarkts-copy/src/arkts-api/index.ts +10 -1
- package/build/libarkts-copy/src/arkts-api/node-cache.ts +8 -4
- package/build/libarkts-copy/src/arkts-api/node-utilities/AnnotationDeclaration.ts +32 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/AnnotationUsage.ts +37 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ArkTsConfig.ts +26 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ArrayExpression.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/BinaryExpression.ts +37 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/BlockExpression.ts +27 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/BlockStatement.ts +29 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/CallExpression.ts +2 -2
- package/build/libarkts-copy/src/arkts-api/node-utilities/ChainExpression.ts +27 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ClassDeclaration.ts +54 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ClassDefinition.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/ClassProperty.ts +3 -3
- package/build/libarkts-copy/src/arkts-api/node-utilities/ConditionalExpression.ts +36 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSFunctionType.ts +2 -2
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSImportDeclaration.ts +3 -33
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSNewClassInstanceExpression.ts +34 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSParameterExpression.ts +3 -9
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSPrimitiveType.ts +28 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSStructDeclaration.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSTuple.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSTypeReference.ts +27 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSTypeReferencePart.ts +36 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSUndefinedType.ts +24 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSUnionType.ts +27 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/Identifier.ts +27 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ImportSpecifier.ts +31 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/MemberExpression.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/MethodDefinition.ts +2 -2
- package/build/libarkts-copy/src/arkts-api/node-utilities/NullLiteral.ts +24 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/NumberLiteral.ts +2 -2
- package/build/libarkts-copy/src/arkts-api/node-utilities/ObjectExpression.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/Program.ts +40 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ReturnStatement.ts +27 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/StringLiteral.ts +27 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/SuperExpression.ts +24 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSAsExpression.ts +36 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSClassImplements.ts +31 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSInterfaceBody.ts +28 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSInterfaceDeclaration.ts +2 -2
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSNonNullExpression.ts +27 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSTypeParameter.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSTypeParameterDeclaration.ts +31 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSTypeParameterInstantiation.ts +30 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSTypeReferencePart.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/TemplateLiteral.ts +35 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ThisExpression.ts +24 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/UndefinedLiteral.ts +24 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/VariableDeclaration.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/VariableDeclarator.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/peers/ArktsObject.ts +3 -1
- package/build/libarkts-copy/src/arkts-api/peers/AstNode.ts +75 -12
- package/build/libarkts-copy/src/arkts-api/peers/Config.ts +8 -1
- package/build/libarkts-copy/src/arkts-api/peers/Context.ts +71 -4
- package/build/libarkts-copy/src/arkts-api/peers/{Program.ts → ExternalSource.ts} +2 -22
- package/build/libarkts-copy/src/arkts-api/peers/Options.ts +34 -0
- package/build/libarkts-copy/src/arkts-api/plugins.ts +26 -12
- package/build/libarkts-copy/src/arkts-api/static/global.ts +7 -4
- package/build/libarkts-copy/src/arkts-api/static/profiler.ts +180 -23
- package/build/libarkts-copy/src/arkts-api/utilities/private.ts +32 -8
- package/build/libarkts-copy/src/arkts-api/utilities/public.ts +54 -12
- package/build/libarkts-copy/src/arkts-api/visitor.ts +32 -37
- package/build/libarkts-copy/src/arkts-api/wrapper-compat.ts +32 -0
- package/build/libarkts-copy/src/checkSdk.ts +25 -0
- package/build/libarkts-copy/src/generated/Es2pandaEnums.ts +448 -436
- package/build/libarkts-copy/src/generated/Es2pandaNativeModule.ts +778 -63
- package/build/libarkts-copy/src/generated/factory.ts +12 -15
- package/build/libarkts-copy/src/generated/index.ts +10 -3
- package/build/libarkts-copy/src/generated/peers/AnnotatedAstNode.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/AnnotatedExpression.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/AnnotatedStatement.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/AnnotationDeclaration.ts +58 -6
- package/build/libarkts-copy/src/generated/peers/AnnotationUsage.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ArkTsConfig.ts +75 -0
- package/build/libarkts-copy/src/generated/peers/ArrayExpression.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/ArrowFunctionExpression.ts +40 -6
- package/build/libarkts-copy/src/generated/peers/AssertStatement.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/AssignmentExpression.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/AstDumper.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/AstVerifier.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/AstVisitor.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/AwaitExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/BigIntLiteral.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/BinaryExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/BindingProps.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/BlockExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/BlockStatement.ts +26 -7
- package/build/libarkts-copy/src/generated/peers/BooleanLiteral.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/BreakStatement.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/CallExpression.ts +20 -3
- package/build/libarkts-copy/src/generated/peers/CatchClause.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ChainExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/CharLiteral.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ClassDeclaration.ts +33 -4
- package/build/libarkts-copy/src/generated/peers/ClassDefinition.ts +128 -42
- package/build/libarkts-copy/src/generated/peers/ClassElement.ts +28 -4
- package/build/libarkts-copy/src/generated/peers/ClassExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ClassProperty.ts +39 -5
- package/build/libarkts-copy/src/generated/peers/ClassStaticBlock.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/CodeGen.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/ConditionalExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ContinueStatement.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/DebuggerStatement.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/Declaration.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/Decorator.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/{OverloadInfo.ts → DiagnosticInfo.ts} +8 -2
- package/build/libarkts-copy/src/generated/peers/DirectEvalExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/DoWhileStatement.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/DynamicImportData.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/ETSClassLiteral.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSFunctionType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSImportDeclaration.ts +16 -5
- package/build/libarkts-copy/src/generated/peers/ETSKeyofType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSModule.ts +59 -4
- package/build/libarkts-copy/src/generated/peers/ETSNewArrayInstanceExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSNewClassInstanceExpression.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/ETSNewMultiDimArrayInstanceExpression.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/ETSNullType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSPackageDeclaration.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSParameterExpression.ts +46 -12
- package/build/libarkts-copy/src/generated/peers/ETSPrimitiveType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSReExportDeclaration.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/ETSStringLiteralType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSStructDeclaration.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSTuple.ts +14 -8
- package/build/libarkts-copy/src/generated/peers/ETSTypeReference.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSTypeReferencePart.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/ETSUndefinedType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSUnionType.ts +15 -4
- package/build/libarkts-copy/src/generated/peers/ETSWildcardType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/EmptyStatement.ts +16 -4
- package/build/libarkts-copy/src/generated/peers/ErrorLogger.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/ExportAllDeclaration.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ExportDefaultDeclaration.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ExportNamedDeclaration.ts +18 -7
- package/build/libarkts-copy/src/generated/peers/ExportSpecifier.ts +26 -3
- package/build/libarkts-copy/src/generated/peers/Expression.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/ExpressionStatement.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ForInStatement.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ForOfStatement.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ForUpdateStatement.ts +8 -2
- package/build/libarkts-copy/src/generated/peers/FunctionDecl.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/FunctionDeclaration.ts +44 -6
- package/build/libarkts-copy/src/generated/peers/FunctionExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/FunctionSignature.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/IRNode.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/Identifier.ts +16 -5
- package/build/libarkts-copy/src/generated/peers/IfStatement.ts +14 -3
- package/build/libarkts-copy/src/generated/peers/ImportDeclaration.ts +28 -4
- package/build/libarkts-copy/src/generated/peers/ImportDefaultSpecifier.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ImportExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ImportNamespaceSpecifier.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ImportSource.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/ImportSpecifier.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/IndexInfo.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/InterfaceDecl.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/LabelPair.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/LabelledStatement.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/Literal.ts +15 -1
- package/build/libarkts-copy/src/generated/peers/LoopStatement.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/MaybeOptionalExpression.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/MemberExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/MetaProperty.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/MethodDefinition.ts +26 -10
- package/build/libarkts-copy/src/generated/peers/NamedType.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/NewExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/NullLiteral.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/NumberLiteral.ts +15 -9
- package/build/libarkts-copy/src/generated/peers/ObjectDescriptor.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/ObjectExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/OmittedExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/OpaqueTypeNode.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/PrefixAssertionExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/Program.ts +194 -0
- package/build/libarkts-copy/src/generated/peers/Property.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/RegExpLiteral.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ReturnStatement.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ScopeFindResult.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/ScriptFunction.ts +77 -10
- package/build/libarkts-copy/src/generated/peers/ScriptFunctionData.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/SequenceExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/SignatureInfo.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/SourcePosition.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/SourceRange.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/SpreadElement.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/SrcDumper.ts +46 -9
- package/build/libarkts-copy/src/generated/peers/Statement.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/StringLiteral.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/{ETSDynamicFunctionType.ts → SuggestionInfo.ts} +7 -5
- package/build/libarkts-copy/src/generated/peers/SuperExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/SwitchCaseStatement.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/SwitchStatement.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSAnyKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSArrayType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSAsExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSBigintKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSBooleanKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSClassImplements.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/TSConditionalType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSConstructorType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSEnumDeclaration.ts +48 -6
- package/build/libarkts-copy/src/generated/peers/TSEnumMember.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/TSExternalModuleReference.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSFunctionType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSImportEqualsDeclaration.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSImportType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSIndexSignature.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSIndexedAccessType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSInferType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSInterfaceBody.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSInterfaceDeclaration.ts +78 -8
- package/build/libarkts-copy/src/generated/peers/TSInterfaceHeritage.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSIntersectionType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSLiteralType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSMappedType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSMethodSignature.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSModuleBlock.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSModuleDeclaration.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSNamedTupleMember.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSNeverKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSNonNullExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSNullKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSNumberKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSObjectKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSParameterProperty.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSParenthesizedType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSPropertySignature.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSQualifiedName.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSSignatureDeclaration.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSStringKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSThisType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSTupleType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeAliasDeclaration.ts +53 -6
- package/build/libarkts-copy/src/generated/peers/TSTypeAssertion.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeLiteral.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeOperator.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeParameter.ts +41 -7
- package/build/libarkts-copy/src/generated/peers/TSTypeParameterDeclaration.ts +15 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeParameterInstantiation.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSTypePredicate.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeQuery.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeReference.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSUndefinedKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSUnionType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSUnknownKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSVoidKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TaggedTemplateExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TemplateElement.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/TemplateLiteral.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ThisExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ThrowStatement.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TryStatement.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/TypeNode.ts +37 -3
- package/build/libarkts-copy/src/generated/peers/TypedAstNode.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/TypedStatement.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/TypeofExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/UnaryExpression.ts +15 -4
- package/build/libarkts-copy/src/generated/peers/UndefinedLiteral.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/UpdateExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/VReg.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/ValidationInfo.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/VariableDeclaration.ts +48 -8
- package/build/libarkts-copy/src/generated/peers/VariableDeclarator.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/VerificationContext.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/VerifierMessage.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/WhileStatement.ts +15 -4
- package/build/libarkts-copy/src/generated/peers/YieldExpression.ts +10 -4
- package/build/libarkts-copy/src/index.ts +13 -1
- package/build/libarkts-copy/src/plugin-utils.ts +117 -0
- package/build/libarkts-copy/src/utils.ts +17 -28
- package/build/libarkts-copy/src/wrapper-compat/README.md +16 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/class-by-peer.ts +46 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/factory/nodeFactory.ts +454 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/factory/nodeTests.ts +99 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/index.ts +88 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ArrayExpression.ts +38 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ArrowFunctionExpression.ts +35 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/AssignmentExpression.ts +38 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/BlockStatement.ts +27 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/CallExpression.ts +45 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ClassDeclaration.ts +27 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ClassDefinition.ts +73 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ClassProperty.ts +51 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ETSFunctionType.ts +42 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ETSImportDeclaration.ts +39 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ETSParameterExpression.ts +43 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ExpressionStatement.ts +28 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/FunctionDeclaration.ts +37 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/FunctionExpression.ts +28 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/IfStatement.ts +37 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/MemberExpression.ts +42 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/MethodDefinition.ts +46 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/NumberLiteral.ts +30 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ObjectExpression.ts +37 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/Property.ts +27 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ScriptFunction.ts +46 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/StructDeclaration.ts +28 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TSInterfaceDeclaration.ts +47 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TSTypeAliasDeclaration.ts +40 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TSTypeParameter.ts +36 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TryStatement.ts +41 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/VariableDeclaration.ts +42 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/VariableDeclarator.ts +39 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/ArktsObject.ts +45 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/AstNode.ts +26 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/Config.ts +53 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/Context.ts +60 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/Diagnostic.ts +39 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/DiagnosticInfo.ts +33 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/DiagnosticKind.ts +33 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/ImportPathManager.ts +34 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/Program.ts +105 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/SourcePosition.ts +38 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/SourceRange.ts +38 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/SuggestionInfo.ts +33 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/static/global.ts +16 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/static/globalUtils.ts +27 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/to-be-generated/MemberExpression.ts +108 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/types.ts +907 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/utilities/nativePtrDecoder.ts +69 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/utilities/performance.ts +190 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/utilities/private.ts +198 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/utilities/public.ts +325 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/visitor.ts +421 -0
- package/build/libarkts-copy/src/wrapper-compat/index.ts +20 -0
- package/lib/index.js +323 -148
- package/package.json +2 -2
- package/templates/Es2pandaEnums.ts +4 -0
- package/templates/Es2pandaNativeModule.ts +5 -1
- package/templates/factory.ts +5 -1
- package/templates/index.ts +5 -1
- package/templates/node-map.ts +5 -1
- package/templates/peer.ts +5 -1
- package/build/libarkts-copy/README.md +0 -36
|
@@ -13,16 +13,25 @@
|
|
|
13
13
|
* limitations under the License.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
/*
|
|
17
|
+
* THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
|
|
16
21
|
export enum Es2pandaContextState {
|
|
17
22
|
ES2PANDA_STATE_NEW = 0,
|
|
18
23
|
ES2PANDA_STATE_PARSED = 1,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
ES2PANDA_STATE_BOUND = 2,
|
|
25
|
+
ES2PANDA_STATE_CHECKED = 3,
|
|
26
|
+
ES2PANDA_STATE_LOWERED = 4,
|
|
27
|
+
ES2PANDA_STATE_ASM_GENERATED = 5,
|
|
28
|
+
ES2PANDA_STATE_BIN_GENERATED = 6,
|
|
29
|
+
ES2PANDA_STATE_ERROR = 7
|
|
30
|
+
}
|
|
31
|
+
export enum Es2pandaPluginDiagnosticType {
|
|
32
|
+
ES2PANDA_PLUGIN_WARNING = 0,
|
|
33
|
+
ES2PANDA_PLUGIN_ERROR = 1,
|
|
34
|
+
ES2PANDA_PLUGIN_SUGGESTION = 2
|
|
26
35
|
}
|
|
27
36
|
export enum Es2pandaAstNodeType {
|
|
28
37
|
AST_NODE_TYPE_ARROW_FUNCTION_EXPRESSION = 0,
|
|
@@ -87,108 +96,109 @@ export enum Es2pandaAstNodeType {
|
|
|
87
96
|
AST_NODE_TYPE_SCRIPT_FUNCTION = 59,
|
|
88
97
|
AST_NODE_TYPE_SEQUENCE_EXPRESSION = 60,
|
|
89
98
|
AST_NODE_TYPE_STRING_LITERAL = 61,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
99
|
+
AST_NODE_TYPE_ETS_NON_NULLISH_TYPE = 62,
|
|
100
|
+
AST_NODE_TYPE_ETS_NULL_TYPE = 63,
|
|
101
|
+
AST_NODE_TYPE_ETS_UNDEFINED_TYPE = 64,
|
|
102
|
+
AST_NODE_TYPE_ETS_NEVER_TYPE = 65,
|
|
103
|
+
AST_NODE_TYPE_ETS_STRING_LITERAL_TYPE = 66,
|
|
104
|
+
AST_NODE_TYPE_ETS_FUNCTION_TYPE = 67,
|
|
105
|
+
AST_NODE_TYPE_ETS_WILDCARD_TYPE = 68,
|
|
106
|
+
AST_NODE_TYPE_ETS_PRIMITIVE_TYPE = 69,
|
|
107
|
+
AST_NODE_TYPE_ETS_PACKAGE_DECLARATION = 70,
|
|
108
|
+
AST_NODE_TYPE_ETS_CLASS_LITERAL = 71,
|
|
109
|
+
AST_NODE_TYPE_ETS_TYPE_REFERENCE = 72,
|
|
110
|
+
AST_NODE_TYPE_ETS_TYPE_REFERENCE_PART = 73,
|
|
111
|
+
AST_NODE_TYPE_ETS_UNION_TYPE = 74,
|
|
112
|
+
AST_NODE_TYPE_ETS_KEYOF_TYPE = 75,
|
|
113
|
+
AST_NODE_TYPE_ETS_NEW_ARRAY_INSTANCE_EXPRESSION = 76,
|
|
114
|
+
AST_NODE_TYPE_ETS_NEW_MULTI_DIM_ARRAY_INSTANCE_EXPRESSION = 77,
|
|
115
|
+
AST_NODE_TYPE_ETS_NEW_CLASS_INSTANCE_EXPRESSION = 78,
|
|
116
|
+
AST_NODE_TYPE_ETS_IMPORT_DECLARATION = 79,
|
|
117
|
+
AST_NODE_TYPE_ETS_PARAMETER_EXPRESSION = 80,
|
|
118
|
+
AST_NODE_TYPE_ETS_TUPLE = 81,
|
|
119
|
+
AST_NODE_TYPE_ETS_MODULE = 82,
|
|
120
|
+
AST_NODE_TYPE_SUPER_EXPRESSION = 83,
|
|
121
|
+
AST_NODE_TYPE_STRUCT_DECLARATION = 84,
|
|
122
|
+
AST_NODE_TYPE_SWITCH_CASE_STATEMENT = 85,
|
|
123
|
+
AST_NODE_TYPE_SWITCH_STATEMENT = 86,
|
|
124
|
+
AST_NODE_TYPE_TS_ENUM_DECLARATION = 87,
|
|
125
|
+
AST_NODE_TYPE_TS_ENUM_MEMBER = 88,
|
|
126
|
+
AST_NODE_TYPE_TS_EXTERNAL_MODULE_REFERENCE = 89,
|
|
127
|
+
AST_NODE_TYPE_TS_NUMBER_KEYWORD = 90,
|
|
128
|
+
AST_NODE_TYPE_TS_ANY_KEYWORD = 91,
|
|
129
|
+
AST_NODE_TYPE_TS_STRING_KEYWORD = 92,
|
|
130
|
+
AST_NODE_TYPE_TS_BOOLEAN_KEYWORD = 93,
|
|
131
|
+
AST_NODE_TYPE_TS_VOID_KEYWORD = 94,
|
|
132
|
+
AST_NODE_TYPE_TS_UNDEFINED_KEYWORD = 95,
|
|
133
|
+
AST_NODE_TYPE_TS_UNKNOWN_KEYWORD = 96,
|
|
134
|
+
AST_NODE_TYPE_TS_OBJECT_KEYWORD = 97,
|
|
135
|
+
AST_NODE_TYPE_TS_BIGINT_KEYWORD = 98,
|
|
136
|
+
AST_NODE_TYPE_TS_NEVER_KEYWORD = 99,
|
|
137
|
+
AST_NODE_TYPE_TS_NON_NULL_EXPRESSION = 100,
|
|
138
|
+
AST_NODE_TYPE_TS_NULL_KEYWORD = 101,
|
|
139
|
+
AST_NODE_TYPE_TS_ARRAY_TYPE = 102,
|
|
140
|
+
AST_NODE_TYPE_TS_UNION_TYPE = 103,
|
|
141
|
+
AST_NODE_TYPE_TS_TYPE_LITERAL = 104,
|
|
142
|
+
AST_NODE_TYPE_TS_PROPERTY_SIGNATURE = 105,
|
|
143
|
+
AST_NODE_TYPE_TS_METHOD_SIGNATURE = 106,
|
|
144
|
+
AST_NODE_TYPE_TS_SIGNATURE_DECLARATION = 107,
|
|
145
|
+
AST_NODE_TYPE_TS_PARENT_TYPE = 108,
|
|
146
|
+
AST_NODE_TYPE_TS_LITERAL_TYPE = 109,
|
|
147
|
+
AST_NODE_TYPE_TS_INFER_TYPE = 110,
|
|
148
|
+
AST_NODE_TYPE_TS_CONDITIONAL_TYPE = 111,
|
|
149
|
+
AST_NODE_TYPE_TS_IMPORT_TYPE = 112,
|
|
150
|
+
AST_NODE_TYPE_TS_INTERSECTION_TYPE = 113,
|
|
151
|
+
AST_NODE_TYPE_TS_MAPPED_TYPE = 114,
|
|
152
|
+
AST_NODE_TYPE_TS_MODULE_BLOCK = 115,
|
|
153
|
+
AST_NODE_TYPE_TS_THIS_TYPE = 116,
|
|
154
|
+
AST_NODE_TYPE_TS_TYPE_OPERATOR = 117,
|
|
155
|
+
AST_NODE_TYPE_TS_TYPE_PARAMETER = 118,
|
|
156
|
+
AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION = 119,
|
|
157
|
+
AST_NODE_TYPE_TS_TYPE_PARAMETER_INSTANTIATION = 120,
|
|
158
|
+
AST_NODE_TYPE_TS_TYPE_PREDICATE = 121,
|
|
159
|
+
AST_NODE_TYPE_TS_PARAMETER_PROPERTY = 122,
|
|
160
|
+
AST_NODE_TYPE_TS_MODULE_DECLARATION = 123,
|
|
161
|
+
AST_NODE_TYPE_TS_IMPORT_EQUALS_DECLARATION = 124,
|
|
162
|
+
AST_NODE_TYPE_TS_FUNCTION_TYPE = 125,
|
|
163
|
+
AST_NODE_TYPE_TS_CONSTRUCTOR_TYPE = 126,
|
|
164
|
+
AST_NODE_TYPE_TS_TYPE_ALIAS_DECLARATION = 127,
|
|
165
|
+
AST_NODE_TYPE_TS_TYPE_REFERENCE = 128,
|
|
166
|
+
AST_NODE_TYPE_TS_QUALIFIED_NAME = 129,
|
|
167
|
+
AST_NODE_TYPE_TS_INDEXED_ACCESS_TYPE = 130,
|
|
168
|
+
AST_NODE_TYPE_TS_INTERFACE_DECLARATION = 131,
|
|
169
|
+
AST_NODE_TYPE_TS_INTERFACE_BODY = 132,
|
|
170
|
+
AST_NODE_TYPE_TS_INTERFACE_HERITAGE = 133,
|
|
171
|
+
AST_NODE_TYPE_TS_TUPLE_TYPE = 134,
|
|
172
|
+
AST_NODE_TYPE_TS_NAMED_TUPLE_MEMBER = 135,
|
|
173
|
+
AST_NODE_TYPE_TS_INDEX_SIGNATURE = 136,
|
|
174
|
+
AST_NODE_TYPE_TS_TYPE_QUERY = 137,
|
|
175
|
+
AST_NODE_TYPE_TS_AS_EXPRESSION = 138,
|
|
176
|
+
AST_NODE_TYPE_TS_CLASS_IMPLEMENTS = 139,
|
|
177
|
+
AST_NODE_TYPE_TS_TYPE_ASSERTION = 140,
|
|
178
|
+
AST_NODE_TYPE_TAGGED_TEMPLATE_EXPRESSION = 141,
|
|
179
|
+
AST_NODE_TYPE_TEMPLATE_ELEMENT = 142,
|
|
180
|
+
AST_NODE_TYPE_TEMPLATE_LITERAL = 143,
|
|
181
|
+
AST_NODE_TYPE_THIS_EXPRESSION = 144,
|
|
182
|
+
AST_NODE_TYPE_TYPEOF_EXPRESSION = 145,
|
|
183
|
+
AST_NODE_TYPE_THROW_STATEMENT = 146,
|
|
184
|
+
AST_NODE_TYPE_TRY_STATEMENT = 147,
|
|
185
|
+
AST_NODE_TYPE_UNARY_EXPRESSION = 148,
|
|
186
|
+
AST_NODE_TYPE_UPDATE_EXPRESSION = 149,
|
|
187
|
+
AST_NODE_TYPE_VARIABLE_DECLARATION = 150,
|
|
188
|
+
AST_NODE_TYPE_VARIABLE_DECLARATOR = 151,
|
|
189
|
+
AST_NODE_TYPE_WHILE_STATEMENT = 152,
|
|
190
|
+
AST_NODE_TYPE_YIELD_EXPRESSION = 153,
|
|
191
|
+
AST_NODE_TYPE_OPAQUE_TYPE_NODE = 154,
|
|
192
|
+
AST_NODE_TYPE_BLOCK_EXPRESSION = 155,
|
|
193
|
+
AST_NODE_TYPE_BROKEN_TYPE_NODE = 156,
|
|
194
|
+
AST_NODE_TYPE_ARRAY_EXPRESSION = 157,
|
|
195
|
+
AST_NODE_TYPE_ARRAY_PATTERN = 158,
|
|
196
|
+
AST_NODE_TYPE_ASSIGNMENT_EXPRESSION = 159,
|
|
197
|
+
AST_NODE_TYPE_ASSIGNMENT_PATTERN = 160,
|
|
198
|
+
AST_NODE_TYPE_OBJECT_EXPRESSION = 161,
|
|
199
|
+
AST_NODE_TYPE_OBJECT_PATTERN = 162,
|
|
200
|
+
AST_NODE_TYPE_SPREAD_ELEMENT = 163,
|
|
201
|
+
AST_NODE_TYPE_REST_ELEMENT = 164
|
|
192
202
|
}
|
|
193
203
|
export enum Es2pandaScopeType {
|
|
194
204
|
SCOPE_TYPE_PARAM = 0,
|
|
@@ -396,142 +406,144 @@ export enum Es2pandaTokenType {
|
|
|
396
406
|
TOKEN_TYPE_PUNCTUATOR_COMMA = 67,
|
|
397
407
|
TOKEN_TYPE_KEYW_ABSTRACT = 68,
|
|
398
408
|
TOKEN_TYPE_KEYW_ANY = 69,
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
409
|
+
TOKEN_TYPE_KEYW_BUILTIN_ANY = 70,
|
|
410
|
+
TOKEN_TYPE_KEYW_ANYREF = 71,
|
|
411
|
+
TOKEN_TYPE_KEYW_ARGUMENTS = 72,
|
|
412
|
+
TOKEN_TYPE_KEYW_AS = 73,
|
|
413
|
+
TOKEN_TYPE_KEYW_ASSERTS = 74,
|
|
414
|
+
TOKEN_TYPE_KEYW_ASYNC = 75,
|
|
415
|
+
TOKEN_TYPE_KEYW_AWAIT = 76,
|
|
416
|
+
TOKEN_TYPE_KEYW_BIGINT = 77,
|
|
417
|
+
TOKEN_TYPE_KEYW_BUILTIN_BIGINT = 78,
|
|
418
|
+
TOKEN_TYPE_KEYW_BOOLEAN = 79,
|
|
419
|
+
TOKEN_TYPE_KEYW_BUILTIN_BOOLEAN = 80,
|
|
420
|
+
TOKEN_TYPE_KEYW_BREAK = 81,
|
|
421
|
+
TOKEN_TYPE_KEYW_BYTE = 82,
|
|
422
|
+
TOKEN_TYPE_KEYW_BUILTIN_BYTE = 83,
|
|
423
|
+
TOKEN_TYPE_KEYW_CASE = 84,
|
|
424
|
+
TOKEN_TYPE_KEYW_CATCH = 85,
|
|
425
|
+
TOKEN_TYPE_KEYW_CHAR = 86,
|
|
426
|
+
TOKEN_TYPE_KEYW_BUILTIN_CHAR = 87,
|
|
427
|
+
TOKEN_TYPE_KEYW_CLASS = 88,
|
|
428
|
+
TOKEN_TYPE_KEYW_CONST = 89,
|
|
429
|
+
TOKEN_TYPE_KEYW_CONSTRUCTOR = 90,
|
|
430
|
+
TOKEN_TYPE_KEYW_CONTINUE = 91,
|
|
431
|
+
TOKEN_TYPE_KEYW_DATAREF = 92,
|
|
432
|
+
TOKEN_TYPE_KEYW_DEBUGGER = 93,
|
|
433
|
+
TOKEN_TYPE_KEYW_DECLARE = 94,
|
|
434
|
+
TOKEN_TYPE_KEYW_DEFAULT = 95,
|
|
435
|
+
TOKEN_TYPE_KEYW_DELETE = 96,
|
|
436
|
+
TOKEN_TYPE_KEYW_DO = 97,
|
|
437
|
+
TOKEN_TYPE_KEYW_DOUBLE = 98,
|
|
438
|
+
TOKEN_TYPE_KEYW_BUILTIN_DOUBLE = 99,
|
|
439
|
+
TOKEN_TYPE_KEYW_ELSE = 100,
|
|
440
|
+
TOKEN_TYPE_KEYW_ENUM = 101,
|
|
441
|
+
TOKEN_TYPE_KEYW_EQREF = 102,
|
|
442
|
+
TOKEN_TYPE_KEYW_EVAL = 103,
|
|
443
|
+
TOKEN_TYPE_KEYW_EXPORT = 104,
|
|
444
|
+
TOKEN_TYPE_KEYW_EXTENDS = 105,
|
|
445
|
+
TOKEN_TYPE_KEYW_EXTERNREF = 106,
|
|
446
|
+
TOKEN_TYPE_KEYW_F32 = 107,
|
|
447
|
+
TOKEN_TYPE_KEYW_F64 = 108,
|
|
448
|
+
TOKEN_TYPE_LITERAL_FALSE = 109,
|
|
449
|
+
TOKEN_TYPE_KEYW_FINALLY = 110,
|
|
450
|
+
TOKEN_TYPE_KEYW_FLOAT = 111,
|
|
451
|
+
TOKEN_TYPE_KEYW_BUILTIN_FLOAT = 112,
|
|
452
|
+
TOKEN_TYPE_KEYW_FOR = 113,
|
|
453
|
+
TOKEN_TYPE_KEYW_FROM = 114,
|
|
454
|
+
TOKEN_TYPE_KEYW_FUNCREF = 115,
|
|
455
|
+
TOKEN_TYPE_KEYW_FUNCTION = 116,
|
|
456
|
+
TOKEN_TYPE_KEYW_GET = 117,
|
|
457
|
+
TOKEN_TYPE_KEYW_GLOBAL = 118,
|
|
458
|
+
TOKEN_TYPE_KEYW_I8 = 119,
|
|
459
|
+
TOKEN_TYPE_KEYW_I16 = 120,
|
|
460
|
+
TOKEN_TYPE_KEYW_I31REF = 121,
|
|
461
|
+
TOKEN_TYPE_KEYW_I32 = 122,
|
|
462
|
+
TOKEN_TYPE_KEYW_I64 = 123,
|
|
463
|
+
TOKEN_TYPE_KEYW_IF = 124,
|
|
464
|
+
TOKEN_TYPE_KEYW_IMPLEMENTS = 125,
|
|
465
|
+
TOKEN_TYPE_KEYW_IMPORT = 126,
|
|
466
|
+
TOKEN_TYPE_KEYW_IN = 127,
|
|
467
|
+
TOKEN_TYPE_KEYW_INFER = 128,
|
|
468
|
+
TOKEN_TYPE_KEYW_INSTANCEOF = 129,
|
|
469
|
+
TOKEN_TYPE_KEYW_INT = 130,
|
|
470
|
+
TOKEN_TYPE_KEYW_BUILTIN_INT = 131,
|
|
471
|
+
TOKEN_TYPE_KEYW_INTERFACE = 132,
|
|
472
|
+
TOKEN_TYPE_KEYW_IS = 133,
|
|
473
|
+
TOKEN_TYPE_KEYW_ISIZE = 134,
|
|
474
|
+
TOKEN_TYPE_KEYW_KEYOF = 135,
|
|
475
|
+
TOKEN_TYPE_KEYW_LET = 136,
|
|
476
|
+
TOKEN_TYPE_KEYW_LONG = 137,
|
|
477
|
+
TOKEN_TYPE_KEYW_BUILTIN_LONG = 138,
|
|
478
|
+
TOKEN_TYPE_KEYW_META = 139,
|
|
479
|
+
TOKEN_TYPE_KEYW_MODULE = 140,
|
|
480
|
+
TOKEN_TYPE_KEYW_NAMESPACE = 141,
|
|
481
|
+
TOKEN_TYPE_KEYW_NATIVE = 142,
|
|
482
|
+
TOKEN_TYPE_KEYW_NEVER = 143,
|
|
483
|
+
TOKEN_TYPE_KEYW_NEW = 144,
|
|
484
|
+
TOKEN_TYPE_LITERAL_NULL = 145,
|
|
485
|
+
TOKEN_TYPE_KEYW_NUMBER = 146,
|
|
486
|
+
TOKEN_TYPE_KEYW_OBJECT = 147,
|
|
487
|
+
TOKEN_TYPE_KEYW_BUILTIN_OBJECT = 148,
|
|
488
|
+
TOKEN_TYPE_KEYW_OF = 149,
|
|
489
|
+
TOKEN_TYPE_KEYW_FINAL = 150,
|
|
490
|
+
TOKEN_TYPE_KEYW_OUT = 151,
|
|
491
|
+
TOKEN_TYPE_KEYW_OVERRIDE = 152,
|
|
492
|
+
TOKEN_TYPE_KEYW_PACKAGE = 153,
|
|
493
|
+
TOKEN_TYPE_KEYW_INTERNAL = 154,
|
|
494
|
+
TOKEN_TYPE_KEYW_PRIVATE = 155,
|
|
495
|
+
TOKEN_TYPE_KEYW_PROTECTED = 156,
|
|
496
|
+
TOKEN_TYPE_KEYW_PUBLIC = 157,
|
|
497
|
+
TOKEN_TYPE_KEYW_READONLY = 158,
|
|
498
|
+
TOKEN_TYPE_KEYW_RETHROWS = 159,
|
|
499
|
+
TOKEN_TYPE_KEYW_RETURN = 160,
|
|
500
|
+
TOKEN_TYPE_KEYW_REQUIRE = 161,
|
|
501
|
+
TOKEN_TYPE_KEYW_SET = 162,
|
|
502
|
+
TOKEN_TYPE_KEYW_SHORT = 163,
|
|
503
|
+
TOKEN_TYPE_KEYW_BUILTIN_SHORT = 164,
|
|
504
|
+
TOKEN_TYPE_KEYW_STATIC = 165,
|
|
505
|
+
TOKEN_TYPE_KEYW_STRING = 166,
|
|
506
|
+
TOKEN_TYPE_KEYW_BUILTIN_STRING = 167,
|
|
507
|
+
TOKEN_TYPE_KEYW_STRUCT = 168,
|
|
508
|
+
TOKEN_TYPE_KEYW_SUPER = 169,
|
|
509
|
+
TOKEN_TYPE_KEYW_SWITCH = 170,
|
|
510
|
+
TOKEN_TYPE_KEYW_TARGET = 171,
|
|
511
|
+
TOKEN_TYPE_KEYW_THIS = 172,
|
|
512
|
+
TOKEN_TYPE_KEYW_THROW = 173,
|
|
513
|
+
TOKEN_TYPE_KEYW_THROWS = 174,
|
|
514
|
+
TOKEN_TYPE_LITERAL_TRUE = 175,
|
|
515
|
+
TOKEN_TYPE_KEYW_TRY = 176,
|
|
516
|
+
TOKEN_TYPE_KEYW_TYPE = 177,
|
|
517
|
+
TOKEN_TYPE_KEYW_TYPEOF = 178,
|
|
518
|
+
TOKEN_TYPE_KEYW_U8 = 179,
|
|
519
|
+
TOKEN_TYPE_KEYW_U16 = 180,
|
|
520
|
+
TOKEN_TYPE_KEYW_U32 = 181,
|
|
521
|
+
TOKEN_TYPE_KEYW_U64 = 182,
|
|
522
|
+
TOKEN_TYPE_KEYW_UNDEFINED = 183,
|
|
523
|
+
TOKEN_TYPE_KEYW_UNKNOWN = 184,
|
|
524
|
+
TOKEN_TYPE_KEYW_USIZE = 185,
|
|
525
|
+
TOKEN_TYPE_KEYW_V128 = 186,
|
|
526
|
+
TOKEN_TYPE_KEYW_VAR = 187,
|
|
527
|
+
TOKEN_TYPE_KEYW_VOID = 188,
|
|
528
|
+
TOKEN_TYPE_KEYW_WHILE = 189,
|
|
529
|
+
TOKEN_TYPE_KEYW_WITH = 190,
|
|
530
|
+
TOKEN_TYPE_KEYW_YIELD = 191,
|
|
531
|
+
TOKEN_TYPE_JS_DOC_START = 192,
|
|
532
|
+
TOKEN_TYPE_JS_DOC_END = 193,
|
|
522
533
|
TOKEN_TYPE_FIRST_PUNCTUATOR = 6,
|
|
523
534
|
TOKEN_TYPE_FIRST_KEYW = 68
|
|
524
535
|
}
|
|
525
536
|
export enum Es2pandaAstNodeFlags {
|
|
526
537
|
AST_NODE_FLAGS_NO_OPTS = 0,
|
|
527
538
|
AST_NODE_FLAGS_CHECKCAST = 1,
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
539
|
+
AST_NODE_FLAGS_ALLOW_REQUIRED_INSTANTIATION = 2,
|
|
540
|
+
AST_NODE_FLAGS_HAS_EXPORT_ALIAS = 4,
|
|
541
|
+
AST_NODE_FLAGS_GENERATE_VALUE_OF = 8,
|
|
542
|
+
AST_NODE_FLAGS_RECHECK = 16,
|
|
543
|
+
AST_NODE_FLAGS_NOCLEANUP = 32,
|
|
544
|
+
AST_NODE_FLAGS_RESIZABLE_REST = 64,
|
|
545
|
+
AST_NODE_FLAGS_TMP_CONVERT_PRIMITIVE_CAST_METHOD_CALL = 128,
|
|
546
|
+
AST_NODE_FLAGS_IS_GROUPED = 256
|
|
535
547
|
}
|
|
536
548
|
export enum Es2pandaModifierFlags {
|
|
537
549
|
MODIFIER_FLAGS_NONE = 0,
|
|
@@ -606,7 +618,9 @@ export enum Es2pandaScriptFunctionFlags {
|
|
|
606
618
|
SCRIPT_FUNCTION_FLAGS_HAS_RETURN = 262144,
|
|
607
619
|
SCRIPT_FUNCTION_FLAGS_ASYNC_IMPL = 524288,
|
|
608
620
|
SCRIPT_FUNCTION_FLAGS_EXTERNAL_OVERLOAD = 1048576,
|
|
609
|
-
SCRIPT_FUNCTION_FLAGS_HAS_THROW = 2097152
|
|
621
|
+
SCRIPT_FUNCTION_FLAGS_HAS_THROW = 2097152,
|
|
622
|
+
SCRIPT_FUNCTION_FLAGS_IN_RECORD = 4194304,
|
|
623
|
+
SCRIPT_FUNCTION_FLAGS_TRAILING_LAMBDA = 8388608
|
|
610
624
|
}
|
|
611
625
|
export enum Es2pandaTSOperatorType {
|
|
612
626
|
TS_OPERATOR_TYPE_READONLY = 0,
|
|
@@ -618,28 +632,6 @@ export enum Es2pandaMappedOption {
|
|
|
618
632
|
MAPPED_OPTION_PLUS = 1,
|
|
619
633
|
MAPPED_OPTION_MINUS = 2
|
|
620
634
|
}
|
|
621
|
-
export enum Es2pandaBoxingUnboxingFlags {
|
|
622
|
-
BOXING_UNBOXING_FLAGS_NONE = 0,
|
|
623
|
-
BOXING_UNBOXING_FLAGS_BOX_TO_BOOLEAN = 1,
|
|
624
|
-
BOXING_UNBOXING_FLAGS_BOX_TO_BYTE = 2,
|
|
625
|
-
BOXING_UNBOXING_FLAGS_BOX_TO_SHORT = 4,
|
|
626
|
-
BOXING_UNBOXING_FLAGS_BOX_TO_CHAR = 8,
|
|
627
|
-
BOXING_UNBOXING_FLAGS_BOX_TO_INT = 16,
|
|
628
|
-
BOXING_UNBOXING_FLAGS_BOX_TO_LONG = 32,
|
|
629
|
-
BOXING_UNBOXING_FLAGS_BOX_TO_FLOAT = 64,
|
|
630
|
-
BOXING_UNBOXING_FLAGS_BOX_TO_DOUBLE = 128,
|
|
631
|
-
BOXING_UNBOXING_FLAGS_BOX_TO_ENUM = 256,
|
|
632
|
-
BOXING_UNBOXING_FLAGS_UNBOX_TO_BOOLEAN = 512,
|
|
633
|
-
BOXING_UNBOXING_FLAGS_UNBOX_TO_BYTE = 1024,
|
|
634
|
-
BOXING_UNBOXING_FLAGS_UNBOX_TO_SHORT = 2048,
|
|
635
|
-
BOXING_UNBOXING_FLAGS_UNBOX_TO_CHAR = 4096,
|
|
636
|
-
BOXING_UNBOXING_FLAGS_UNBOX_TO_INT = 8192,
|
|
637
|
-
BOXING_UNBOXING_FLAGS_UNBOX_TO_LONG = 16384,
|
|
638
|
-
BOXING_UNBOXING_FLAGS_UNBOX_TO_FLOAT = 32768,
|
|
639
|
-
BOXING_UNBOXING_FLAGS_UNBOX_TO_DOUBLE = 65536,
|
|
640
|
-
BOXING_UNBOXING_FLAGS_BOXING_FLAG = 511,
|
|
641
|
-
BOXING_UNBOXING_FLAGS_UNBOXING_FLAG = 130560
|
|
642
|
-
}
|
|
643
635
|
export enum Es2pandaClassDefinitionModifiers {
|
|
644
636
|
CLASS_DEFINITION_MODIFIERS_NONE = 0,
|
|
645
637
|
CLASS_DEFINITION_MODIFIERS_DECLARATION = 1,
|
|
@@ -659,6 +651,8 @@ export enum Es2pandaClassDefinitionModifiers {
|
|
|
659
651
|
CLASS_DEFINITION_MODIFIERS_STRING_ENUM_TRANSFORMED = 16384,
|
|
660
652
|
CLASS_DEFINITION_MODIFIERS_INT_ENUM_TRANSFORMED = 32768,
|
|
661
653
|
CLASS_DEFINITION_MODIFIERS_FROM_STRUCT = 65536,
|
|
654
|
+
CLASS_DEFINITION_MODIFIERS_FUNCTIONAL_REFERENCE = 131072,
|
|
655
|
+
CLASS_DEFINITION_MODIFIERS_LAZY_IMPORT_OBJECT_CLASS = 262144,
|
|
662
656
|
CLASS_DEFINITION_MODIFIERS_DECLARATION_ID_REQUIRED = 3,
|
|
663
657
|
CLASS_DEFINITION_MODIFIERS_ETS_MODULE = 8196
|
|
664
658
|
}
|
|
@@ -680,36 +674,37 @@ export enum Es2pandaOperandType {
|
|
|
680
674
|
}
|
|
681
675
|
export enum Es2pandaTypeRelationFlag {
|
|
682
676
|
TYPE_RELATION_FLAG_NONE = 0,
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
677
|
+
TYPE_RELATION_FLAG_WIDENING = 1,
|
|
678
|
+
TYPE_RELATION_FLAG_BOXING = 2,
|
|
679
|
+
TYPE_RELATION_FLAG_UNBOXING = 4,
|
|
680
|
+
TYPE_RELATION_FLAG_CAPTURE = 8,
|
|
681
|
+
TYPE_RELATION_FLAG_STRING = 16,
|
|
682
|
+
TYPE_RELATION_FLAG_VALUE_SET = 32,
|
|
683
|
+
TYPE_RELATION_FLAG_UNCHECKED = 64,
|
|
684
|
+
TYPE_RELATION_FLAG_NO_THROW = 128,
|
|
685
|
+
TYPE_RELATION_FLAG_SELF_REFERENCE = 256,
|
|
686
|
+
TYPE_RELATION_FLAG_NO_RETURN_TYPE_CHECK = 512,
|
|
687
|
+
TYPE_RELATION_FLAG_DIRECT_RETURN = 1024,
|
|
688
|
+
TYPE_RELATION_FLAG_NO_WIDENING = 2048,
|
|
689
|
+
TYPE_RELATION_FLAG_NO_BOXING = 4096,
|
|
690
|
+
TYPE_RELATION_FLAG_NO_UNBOXING = 8192,
|
|
691
|
+
TYPE_RELATION_FLAG_ONLY_CHECK_WIDENING = 16384,
|
|
692
|
+
TYPE_RELATION_FLAG_ONLY_CHECK_BOXING_UNBOXING = 32768,
|
|
693
|
+
TYPE_RELATION_FLAG_IN_ASSIGNMENT_CONTEXT = 65536,
|
|
694
|
+
TYPE_RELATION_FLAG_IN_CASTING_CONTEXT = 131072,
|
|
695
|
+
TYPE_RELATION_FLAG_UNCHECKED_CAST = 262144,
|
|
696
|
+
TYPE_RELATION_FLAG_IGNORE_TYPE_PARAMETERS = 524288,
|
|
697
|
+
TYPE_RELATION_FLAG_CHECK_PROXY = 1048576,
|
|
698
|
+
TYPE_RELATION_FLAG_NO_CHECK_TRAILING_LAMBDA = 2097152,
|
|
699
|
+
TYPE_RELATION_FLAG_NO_THROW_GENERIC_TYPEALIAS = 4194304,
|
|
700
|
+
TYPE_RELATION_FLAG_OVERRIDING_CONTEXT = 8388608,
|
|
701
|
+
TYPE_RELATION_FLAG_IGNORE_REST_PARAM = 16777216,
|
|
702
|
+
TYPE_RELATION_FLAG_STRING_TO_CHAR = 33554432,
|
|
703
|
+
TYPE_RELATION_FLAG_OVERLOADING_CONTEXT = 67108864,
|
|
704
|
+
TYPE_RELATION_FLAG_NO_SUBSTITUTION_NEEDED = 134217728,
|
|
705
|
+
TYPE_RELATION_FLAG_ASSIGNMENT_CONTEXT = 7,
|
|
706
|
+
TYPE_RELATION_FLAG_BRIDGE_CHECK = 8912896,
|
|
707
|
+
TYPE_RELATION_FLAG_CASTING_CONTEXT = 262151
|
|
713
708
|
}
|
|
714
709
|
export enum Es2pandaRelationResult {
|
|
715
710
|
RELATION_RESULT_TRUE = 0,
|
|
@@ -826,6 +821,7 @@ export enum Es2pandaSignatureFlags {
|
|
|
826
821
|
SIGNATURE_FLAGS_RETHROWS = 131072,
|
|
827
822
|
SIGNATURE_FLAGS_EXTENSION_FUNCTION = 262144,
|
|
828
823
|
SIGNATURE_FLAGS_DUPLICATE_ASM = 524288,
|
|
824
|
+
SIGNATURE_FLAGS_BRIDGE = 1048576,
|
|
829
825
|
SIGNATURE_FLAGS_INTERNAL_PROTECTED = 1040,
|
|
830
826
|
SIGNATURE_FLAGS_GETTER_OR_SETTER = 49152,
|
|
831
827
|
SIGNATURE_FLAGS_THROWING = 196608
|
|
@@ -959,150 +955,154 @@ export enum Es2pandaGlobalTypeId {
|
|
|
959
955
|
GLOBAL_TYPE_ID_ETS_OBJECT_BUILTIN = 33,
|
|
960
956
|
GLOBAL_TYPE_ID_ETS_NULL = 34,
|
|
961
957
|
GLOBAL_TYPE_ID_ETS_UNDEFINED = 35,
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
958
|
+
GLOBAL_TYPE_ID_ETS_UNION_UNDEFINED_NULL = 36,
|
|
959
|
+
GLOBAL_TYPE_ID_ETS_ANY = 37,
|
|
960
|
+
GLOBAL_TYPE_ID_ETS_RELAXED_ANY = 38,
|
|
961
|
+
GLOBAL_TYPE_ID_ETS_NEVER = 39,
|
|
962
|
+
GLOBAL_TYPE_ID_ETS_UNION_UNDEFINED_NULL_OBJECT = 40,
|
|
963
|
+
GLOBAL_TYPE_ID_ETS_WILDCARD = 41,
|
|
964
|
+
GLOBAL_TYPE_ID_ETS_BOOLEAN_BUILTIN = 42,
|
|
965
|
+
GLOBAL_TYPE_ID_ETS_BYTE_BUILTIN = 43,
|
|
966
|
+
GLOBAL_TYPE_ID_ETS_CHAR_BUILTIN = 44,
|
|
967
|
+
GLOBAL_TYPE_ID_ETS_COMPARABLE_BUILTIN = 45,
|
|
968
|
+
GLOBAL_TYPE_ID_ETS_CONSOLE_BUILTIN = 46,
|
|
969
|
+
GLOBAL_TYPE_ID_ETS_DATE_BUILTIN = 47,
|
|
970
|
+
GLOBAL_TYPE_ID_ETS_DOUBLE_BUILTIN = 48,
|
|
971
|
+
GLOBAL_TYPE_ID_ETS_EXCEPTION_BUILTIN = 49,
|
|
972
|
+
GLOBAL_TYPE_ID_ETS_FLOAT_BUILTIN = 50,
|
|
973
|
+
GLOBAL_TYPE_ID_ETS_FLOATING_BUILTIN = 51,
|
|
974
|
+
GLOBAL_TYPE_ID_ETS_INT_BUILTIN = 52,
|
|
975
|
+
GLOBAL_TYPE_ID_ETS_INTEGRAL_BUILTIN = 53,
|
|
976
|
+
GLOBAL_TYPE_ID_ETS_LONG_BUILTIN = 54,
|
|
977
|
+
GLOBAL_TYPE_ID_ETS_NUMERIC_BUILTIN = 55,
|
|
978
|
+
GLOBAL_TYPE_ID_ETS_MAP_BUILTIN = 56,
|
|
979
|
+
GLOBAL_TYPE_ID_ETS_RECORD_BUILTIN = 57,
|
|
980
|
+
GLOBAL_TYPE_ID_ETS_ERROR_BUILTIN = 58,
|
|
981
|
+
GLOBAL_TYPE_ID_ETS_RUNTIME_BUILTIN = 59,
|
|
982
|
+
GLOBAL_TYPE_ID_ETS_RUNTIME_LINKER_BUILTIN = 60,
|
|
983
|
+
GLOBAL_TYPE_ID_ETS_SET_BUILTIN = 61,
|
|
984
|
+
GLOBAL_TYPE_ID_ETS_SHORT_BUILTIN = 62,
|
|
985
|
+
GLOBAL_TYPE_ID_ETS_STACK_TRACE_ELEMENT_BUILTIN = 63,
|
|
986
|
+
GLOBAL_TYPE_ID_ETS_STACK_TRACE_BUILTIN = 64,
|
|
987
|
+
GLOBAL_TYPE_ID_ETS_ARRAY_INDEX_OUT_OF_BOUNDS_ERROR_BUILTIN = 65,
|
|
988
|
+
GLOBAL_TYPE_ID_ETS_ARITHMETIC_ERROR_BUILTIN = 66,
|
|
989
|
+
GLOBAL_TYPE_ID_ETS_CLASS_CAST_ERROR_BUILTIN = 67,
|
|
990
|
+
GLOBAL_TYPE_ID_ETS_ASSERTION_ERROR_BUILTIN = 68,
|
|
991
|
+
GLOBAL_TYPE_ID_ETS_DIVIDE_BY_ZERO_ERROR_BUILTIN = 69,
|
|
992
|
+
GLOBAL_TYPE_ID_ETS_NULL_POINTER_ERROR_BUILTIN = 70,
|
|
993
|
+
GLOBAL_TYPE_ID_ETS_UNCAUGHT_EXCEPTION_ERROR_BUILTIN = 71,
|
|
994
|
+
GLOBAL_TYPE_ID_ETS_STRING_BUILTIN = 72,
|
|
995
|
+
GLOBAL_TYPE_ID_ETS_STRING_BUILDER_BUILTIN = 73,
|
|
996
|
+
GLOBAL_TYPE_ID_ETS_TYPE_BUILTIN = 74,
|
|
997
|
+
GLOBAL_TYPE_ID_ETS_TYPES_BUILTIN = 75,
|
|
998
|
+
GLOBAL_TYPE_ID_ETS_PROMISE_BUILTIN = 76,
|
|
999
|
+
GLOBAL_TYPE_ID_ETS_FUNCTION_BUILTIN = 77,
|
|
1000
|
+
GLOBAL_TYPE_ID_ETS_REGEXP_BUILTIN = 78,
|
|
1001
|
+
GLOBAL_TYPE_ID_ETS_ARRAY_BUILTIN = 79,
|
|
1002
|
+
GLOBAL_TYPE_ID_ETS_INTEROP_JSRUNTIME_BUILTIN = 80,
|
|
1003
|
+
GLOBAL_TYPE_ID_ETS_INTEROP_JSVALUE_BUILTIN = 81,
|
|
1004
|
+
GLOBAL_TYPE_ID_ETS_BOX_BUILTIN = 82,
|
|
1005
|
+
GLOBAL_TYPE_ID_ETS_BOOLEAN_BOX_BUILTIN = 83,
|
|
1006
|
+
GLOBAL_TYPE_ID_ETS_BYTE_BOX_BUILTIN = 84,
|
|
1007
|
+
GLOBAL_TYPE_ID_ETS_CHAR_BOX_BUILTIN = 85,
|
|
1008
|
+
GLOBAL_TYPE_ID_ETS_SHORT_BOX_BUILTIN = 86,
|
|
1009
|
+
GLOBAL_TYPE_ID_ETS_INT_BOX_BUILTIN = 87,
|
|
1010
|
+
GLOBAL_TYPE_ID_ETS_LONG_BOX_BUILTIN = 88,
|
|
1011
|
+
GLOBAL_TYPE_ID_ETS_FLOAT_BOX_BUILTIN = 89,
|
|
1012
|
+
GLOBAL_TYPE_ID_ETS_DOUBLE_BOX_BUILTIN = 90,
|
|
1013
|
+
GLOBAL_TYPE_ID_ETS_BIG_INT_BUILTIN = 91,
|
|
1014
|
+
GLOBAL_TYPE_ID_ETS_BIG_INT = 92,
|
|
1015
|
+
GLOBAL_TYPE_ID_ETS_ARRAY = 93,
|
|
1016
|
+
GLOBAL_TYPE_ID_ETS_FUNCTION0_CLASS = 94,
|
|
1017
|
+
GLOBAL_TYPE_ID_ETS_FUNCTION1_CLASS = 95,
|
|
1018
|
+
GLOBAL_TYPE_ID_ETS_FUNCTION2_CLASS = 96,
|
|
1019
|
+
GLOBAL_TYPE_ID_ETS_FUNCTION3_CLASS = 97,
|
|
1020
|
+
GLOBAL_TYPE_ID_ETS_FUNCTION4_CLASS = 98,
|
|
1021
|
+
GLOBAL_TYPE_ID_ETS_FUNCTION5_CLASS = 99,
|
|
1022
|
+
GLOBAL_TYPE_ID_ETS_FUNCTION6_CLASS = 100,
|
|
1023
|
+
GLOBAL_TYPE_ID_ETS_FUNCTION7_CLASS = 101,
|
|
1024
|
+
GLOBAL_TYPE_ID_ETS_FUNCTION8_CLASS = 102,
|
|
1025
|
+
GLOBAL_TYPE_ID_ETS_FUNCTION9_CLASS = 103,
|
|
1026
|
+
GLOBAL_TYPE_ID_ETS_FUNCTION10_CLASS = 104,
|
|
1027
|
+
GLOBAL_TYPE_ID_ETS_FUNCTION11_CLASS = 105,
|
|
1028
|
+
GLOBAL_TYPE_ID_ETS_FUNCTION12_CLASS = 106,
|
|
1029
|
+
GLOBAL_TYPE_ID_ETS_FUNCTION13_CLASS = 107,
|
|
1030
|
+
GLOBAL_TYPE_ID_ETS_FUNCTION14_CLASS = 108,
|
|
1031
|
+
GLOBAL_TYPE_ID_ETS_FUNCTION15_CLASS = 109,
|
|
1032
|
+
GLOBAL_TYPE_ID_ETS_FUNCTION16_CLASS = 110,
|
|
1033
|
+
GLOBAL_TYPE_ID_ETS_FUNCTIONN_CLASS = 111,
|
|
1034
|
+
GLOBAL_TYPE_ID_ETS_LAMBDA0_CLASS = 112,
|
|
1035
|
+
GLOBAL_TYPE_ID_ETS_LAMBDA1_CLASS = 113,
|
|
1036
|
+
GLOBAL_TYPE_ID_ETS_LAMBDA2_CLASS = 114,
|
|
1037
|
+
GLOBAL_TYPE_ID_ETS_LAMBDA3_CLASS = 115,
|
|
1038
|
+
GLOBAL_TYPE_ID_ETS_LAMBDA4_CLASS = 116,
|
|
1039
|
+
GLOBAL_TYPE_ID_ETS_LAMBDA5_CLASS = 117,
|
|
1040
|
+
GLOBAL_TYPE_ID_ETS_LAMBDA6_CLASS = 118,
|
|
1041
|
+
GLOBAL_TYPE_ID_ETS_LAMBDA7_CLASS = 119,
|
|
1042
|
+
GLOBAL_TYPE_ID_ETS_LAMBDA8_CLASS = 120,
|
|
1043
|
+
GLOBAL_TYPE_ID_ETS_LAMBDA9_CLASS = 121,
|
|
1044
|
+
GLOBAL_TYPE_ID_ETS_LAMBDA10_CLASS = 122,
|
|
1045
|
+
GLOBAL_TYPE_ID_ETS_LAMBDA11_CLASS = 123,
|
|
1046
|
+
GLOBAL_TYPE_ID_ETS_LAMBDA12_CLASS = 124,
|
|
1047
|
+
GLOBAL_TYPE_ID_ETS_LAMBDA13_CLASS = 125,
|
|
1048
|
+
GLOBAL_TYPE_ID_ETS_LAMBDA14_CLASS = 126,
|
|
1049
|
+
GLOBAL_TYPE_ID_ETS_LAMBDA15_CLASS = 127,
|
|
1050
|
+
GLOBAL_TYPE_ID_ETS_LAMBDA16_CLASS = 128,
|
|
1051
|
+
GLOBAL_TYPE_ID_ETS_LAMBDAN_CLASS = 129,
|
|
1052
|
+
GLOBAL_TYPE_ID_ETS_FUNCTIONR0_CLASS = 130,
|
|
1053
|
+
GLOBAL_TYPE_ID_ETS_FUNCTIONR1_CLASS = 131,
|
|
1054
|
+
GLOBAL_TYPE_ID_ETS_FUNCTIONR2_CLASS = 132,
|
|
1055
|
+
GLOBAL_TYPE_ID_ETS_FUNCTIONR3_CLASS = 133,
|
|
1056
|
+
GLOBAL_TYPE_ID_ETS_FUNCTIONR4_CLASS = 134,
|
|
1057
|
+
GLOBAL_TYPE_ID_ETS_FUNCTIONR5_CLASS = 135,
|
|
1058
|
+
GLOBAL_TYPE_ID_ETS_FUNCTIONR6_CLASS = 136,
|
|
1059
|
+
GLOBAL_TYPE_ID_ETS_FUNCTIONR7_CLASS = 137,
|
|
1060
|
+
GLOBAL_TYPE_ID_ETS_FUNCTIONR8_CLASS = 138,
|
|
1061
|
+
GLOBAL_TYPE_ID_ETS_FUNCTIONR9_CLASS = 139,
|
|
1062
|
+
GLOBAL_TYPE_ID_ETS_FUNCTIONR10_CLASS = 140,
|
|
1063
|
+
GLOBAL_TYPE_ID_ETS_FUNCTIONR11_CLASS = 141,
|
|
1064
|
+
GLOBAL_TYPE_ID_ETS_FUNCTIONR12_CLASS = 142,
|
|
1065
|
+
GLOBAL_TYPE_ID_ETS_FUNCTIONR13_CLASS = 143,
|
|
1066
|
+
GLOBAL_TYPE_ID_ETS_FUNCTIONR14_CLASS = 144,
|
|
1067
|
+
GLOBAL_TYPE_ID_ETS_FUNCTIONR15_CLASS = 145,
|
|
1068
|
+
GLOBAL_TYPE_ID_ETS_FUNCTIONR16_CLASS = 146,
|
|
1069
|
+
GLOBAL_TYPE_ID_ETS_LAMBDAR0_CLASS = 147,
|
|
1070
|
+
GLOBAL_TYPE_ID_ETS_LAMBDAR1_CLASS = 148,
|
|
1071
|
+
GLOBAL_TYPE_ID_ETS_LAMBDAR2_CLASS = 149,
|
|
1072
|
+
GLOBAL_TYPE_ID_ETS_LAMBDAR3_CLASS = 150,
|
|
1073
|
+
GLOBAL_TYPE_ID_ETS_LAMBDAR4_CLASS = 151,
|
|
1074
|
+
GLOBAL_TYPE_ID_ETS_LAMBDAR5_CLASS = 152,
|
|
1075
|
+
GLOBAL_TYPE_ID_ETS_LAMBDAR6_CLASS = 153,
|
|
1076
|
+
GLOBAL_TYPE_ID_ETS_LAMBDAR7_CLASS = 154,
|
|
1077
|
+
GLOBAL_TYPE_ID_ETS_LAMBDAR8_CLASS = 155,
|
|
1078
|
+
GLOBAL_TYPE_ID_ETS_LAMBDAR9_CLASS = 156,
|
|
1079
|
+
GLOBAL_TYPE_ID_ETS_LAMBDAR10_CLASS = 157,
|
|
1080
|
+
GLOBAL_TYPE_ID_ETS_LAMBDAR11_CLASS = 158,
|
|
1081
|
+
GLOBAL_TYPE_ID_ETS_LAMBDAR12_CLASS = 159,
|
|
1082
|
+
GLOBAL_TYPE_ID_ETS_LAMBDAR13_CLASS = 160,
|
|
1083
|
+
GLOBAL_TYPE_ID_ETS_LAMBDAR14_CLASS = 161,
|
|
1084
|
+
GLOBAL_TYPE_ID_ETS_LAMBDAR15_CLASS = 162,
|
|
1085
|
+
GLOBAL_TYPE_ID_ETS_LAMBDAR16_CLASS = 163,
|
|
1086
|
+
GLOBAL_TYPE_ID_ETS_TUPLE0_CLASS = 164,
|
|
1087
|
+
GLOBAL_TYPE_ID_ETS_TUPLE1_CLASS = 165,
|
|
1088
|
+
GLOBAL_TYPE_ID_ETS_TUPLE2_CLASS = 166,
|
|
1089
|
+
GLOBAL_TYPE_ID_ETS_TUPLE3_CLASS = 167,
|
|
1090
|
+
GLOBAL_TYPE_ID_ETS_TUPLE4_CLASS = 168,
|
|
1091
|
+
GLOBAL_TYPE_ID_ETS_TUPLE5_CLASS = 169,
|
|
1092
|
+
GLOBAL_TYPE_ID_ETS_TUPLE6_CLASS = 170,
|
|
1093
|
+
GLOBAL_TYPE_ID_ETS_TUPLE7_CLASS = 171,
|
|
1094
|
+
GLOBAL_TYPE_ID_ETS_TUPLE8_CLASS = 172,
|
|
1095
|
+
GLOBAL_TYPE_ID_ETS_TUPLE9_CLASS = 173,
|
|
1096
|
+
GLOBAL_TYPE_ID_ETS_TUPLE10_CLASS = 174,
|
|
1097
|
+
GLOBAL_TYPE_ID_ETS_TUPLE11_CLASS = 175,
|
|
1098
|
+
GLOBAL_TYPE_ID_ETS_TUPLE12_CLASS = 176,
|
|
1099
|
+
GLOBAL_TYPE_ID_ETS_TUPLE13_CLASS = 177,
|
|
1100
|
+
GLOBAL_TYPE_ID_ETS_TUPLE14_CLASS = 178,
|
|
1101
|
+
GLOBAL_TYPE_ID_ETS_TUPLE15_CLASS = 179,
|
|
1102
|
+
GLOBAL_TYPE_ID_ETS_TUPLE16_CLASS = 180,
|
|
1103
|
+
GLOBAL_TYPE_ID_ETS_TUPLEN_CLASS = 181,
|
|
1104
|
+
GLOBAL_TYPE_ID_TYPE_ERROR = 182,
|
|
1105
|
+
GLOBAL_TYPE_ID_COUNT = 183
|
|
1106
1106
|
}
|
|
1107
1107
|
export enum Es2pandaMethodDefinitionKind {
|
|
1108
1108
|
METHOD_DEFINITION_KIND_NONE = 0,
|
|
@@ -1295,6 +1295,18 @@ export enum Es2pandaEntityType {
|
|
|
1295
1295
|
ENTITY_TYPE_CLASS_DEFINITION = 2,
|
|
1296
1296
|
ENTITY_TYPE_TS_INTERFACE_DECLARATION = 3
|
|
1297
1297
|
}
|
|
1298
|
+
export enum Es2pandaProgramFlags {
|
|
1299
|
+
PROGRAM_FLAGS_NONE = 0,
|
|
1300
|
+
PROGRAM_FLAGS_AST_CHECKED = 1,
|
|
1301
|
+
PROGRAM_FLAGS_AST_CHECK_PROCESSED = 2,
|
|
1302
|
+
PROGRAM_FLAGS_AST_ENUM_LOWERED = 4,
|
|
1303
|
+
PROGRAM_FLAGS_AST_BOXED_TYPE_LOWERED = 8,
|
|
1304
|
+
PROGRAM_FLAGS_AST_CONSTANT_EXPRESSION_LOWERED = 16,
|
|
1305
|
+
PROGRAM_FLAGS_AST_STRING_CONSTANT_LOWERED = 32,
|
|
1306
|
+
PROGRAM_FLAGS_AST_IDENTIFIER_ANALYZED = 64,
|
|
1307
|
+
PROGRAM_FLAGS_AST_HAS_SCOPES_INITIALIZED = 128,
|
|
1308
|
+
PROGRAM_FLAGS_AST_HAS_OPTIONAL_PARAMETER_ANNOTATION = 256
|
|
1309
|
+
}
|
|
1298
1310
|
export enum Es2pandaCompilationMode {
|
|
1299
1311
|
COMPILATION_MODE_GEN_STD_LIB = 0,
|
|
1300
1312
|
COMPILATION_MODE_PROJECT = 1,
|