@idlizer/arktscgen 2.1.10-arktscgen-2 → 2.1.10-arktscgen-3
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 +89 -6
- package/build/libarkts-copy/native/meson.build +1 -0
- package/build/libarkts-copy/native/src/bridges.cc +10 -4
- package/build/libarkts-copy/native/src/common.cc +0 -12
- package/build/libarkts-copy/native/src/generated/bridges.cc +407 -723
- package/build/libarkts-copy/native/src/memoryTracker.cc +178 -0
- package/build/libarkts-copy/native/src/memoryTracker.h +52 -0
- package/build/libarkts-copy/package.json +1 -1
- package/build/libarkts-copy/src/Es2pandaNativeModule.ts +14 -2
- package/build/libarkts-copy/src/arkts-api/class-by-peer.ts +2 -2
- package/build/libarkts-copy/src/arkts-api/index.ts +2 -1
- package/build/libarkts-copy/src/arkts-api/node-cache.ts +7 -11
- package/build/libarkts-copy/src/arkts-api/node-utilities/ScriptFunction.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/peers/AstNode.ts +4 -1
- package/{templates/node-map.ts → build/libarkts-copy/src/arkts-api/peers/DiagnosticKind.ts} +8 -19
- package/build/libarkts-copy/src/arkts-api/utilities/extensions.ts +26 -9
- package/build/libarkts-copy/src/arkts-api/utilities/performance.ts +309 -0
- package/build/libarkts-copy/src/arkts-api/utilities/private.ts +7 -21
- package/build/libarkts-copy/src/arkts-api/utilities/public.ts +41 -7
- package/build/libarkts-copy/src/arkts-api/visitor.ts +21 -14
- package/build/libarkts-copy/src/generated/Es2pandaEnums.ts +1 -0
- package/build/libarkts-copy/src/generated/Es2pandaNativeModule.ts +85 -172
- package/build/libarkts-copy/src/generated/factory.ts +2 -3
- package/build/libarkts-copy/src/generated/peers/AnnotatedAstNode.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/AnnotatedExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/AnnotatedStatement.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/AnnotationDeclaration.ts +11 -13
- package/build/libarkts-copy/src/generated/peers/AnnotationUsage.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/ArkTsConfig.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ArrayExpression.ts +0 -5
- package/build/libarkts-copy/src/generated/peers/ArrowFunctionExpression.ts +12 -14
- package/build/libarkts-copy/src/generated/peers/AssertStatement.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/AssignmentExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/AstDumper.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/AstVerifier.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/AstVisitor.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/AwaitExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/BigIntLiteral.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/BinaryExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/BindingProps.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/BlockExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/BlockStatement.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/BooleanLiteral.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/BreakStatement.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/CallExpression.ts +6 -2
- package/build/libarkts-copy/src/generated/peers/CatchClause.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ChainExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/CharLiteral.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ClassDeclaration.ts +1 -24
- package/build/libarkts-copy/src/generated/peers/ClassDefinition.ts +26 -20
- package/build/libarkts-copy/src/generated/peers/ClassElement.ts +2 -30
- package/build/libarkts-copy/src/generated/peers/ClassExpression.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/ClassProperty.ts +10 -12
- package/build/libarkts-copy/src/generated/peers/ClassStaticBlock.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/CodeGen.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ConditionalExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ContinueStatement.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/DebuggerStatement.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/Declaration.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/Decorator.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/DiagnosticInfo.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/DirectEvalExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/DoWhileStatement.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/DynamicImportData.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ETSClassLiteral.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ETSFunctionType.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ETSImportDeclaration.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ETSIntrinsicNode.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ETSKeyofType.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ETSModule.ts +12 -14
- package/build/libarkts-copy/src/generated/peers/ETSNewArrayInstanceExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ETSNewClassInstanceExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ETSNewMultiDimArrayInstanceExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ETSNullType.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ETSPackageDeclaration.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ETSParameterExpression.ts +13 -15
- package/build/libarkts-copy/src/generated/peers/ETSPrimitiveType.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ETSReExportDeclaration.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/ETSStringLiteralType.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ETSStructDeclaration.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ETSTuple.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ETSTypeReference.ts +2 -3
- package/build/libarkts-copy/src/generated/peers/ETSTypeReferencePart.ts +3 -4
- package/build/libarkts-copy/src/generated/peers/ETSUndefinedType.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ETSUnionType.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ETSWildcardType.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/EmptyStatement.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ErrorLogger.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ExportAllDeclaration.ts +2 -3
- package/build/libarkts-copy/src/generated/peers/ExportDefaultDeclaration.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ExportNamedDeclaration.ts +2 -3
- package/build/libarkts-copy/src/generated/peers/ExportSpecifier.ts +2 -3
- package/build/libarkts-copy/src/generated/peers/Expression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ExpressionStatement.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ForInStatement.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ForOfStatement.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ForUpdateStatement.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/FunctionDeclaration.ts +10 -16
- package/build/libarkts-copy/src/generated/peers/FunctionExpression.ts +2 -3
- package/build/libarkts-copy/src/generated/peers/FunctionSignature.ts +2 -2
- package/build/libarkts-copy/src/generated/peers/IRNode.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/Identifier.ts +0 -10
- package/build/libarkts-copy/src/generated/peers/IfStatement.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ImportDeclaration.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/ImportDefaultSpecifier.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/ImportExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ImportNamespaceSpecifier.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/ImportSource.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ImportSpecifier.ts +2 -3
- package/build/libarkts-copy/src/generated/peers/IndexInfo.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/LabelPair.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/LabelledStatement.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/Literal.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/LoopStatement.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/MaybeOptionalExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/MemberExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/MetaProperty.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/MethodDefinition.ts +5 -6
- package/build/libarkts-copy/src/generated/peers/NamedType.ts +2 -3
- package/build/libarkts-copy/src/generated/peers/NewExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/NullLiteral.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/NumberLiteral.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ObjectDescriptor.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ObjectExpression.ts +0 -5
- package/build/libarkts-copy/src/generated/peers/OmittedExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/OpaqueTypeNode.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/OverloadDeclaration.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/PrefixAssertionExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/Program.ts +9 -2
- package/build/libarkts-copy/src/generated/peers/Property.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/RegExpLiteral.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ReturnStatement.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ScopeFindResult.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ScriptFunction.ts +22 -19
- package/build/libarkts-copy/src/generated/peers/ScriptFunctionData.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/SequenceExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/SignatureInfo.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/SourcePosition.ts +2 -1
- package/build/libarkts-copy/src/generated/peers/SourceRange.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/SpreadElement.ts +0 -5
- package/build/libarkts-copy/src/generated/peers/SrcDumper.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/Statement.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/StringLiteral.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/SuggestionInfo.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/SuperExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/SwitchCaseStatement.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/SwitchStatement.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/TSAnyKeyword.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSArrayType.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSAsExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSBigintKeyword.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSBooleanKeyword.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSClassImplements.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/TSConditionalType.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSConstructorType.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/TSEnumDeclaration.ts +2 -25
- package/build/libarkts-copy/src/generated/peers/TSEnumMember.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSExternalModuleReference.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSFunctionType.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/TSImportEqualsDeclaration.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/TSImportType.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/TSIndexSignature.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSIndexedAccessType.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSInferType.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/TSInterfaceBody.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSInterfaceDeclaration.ts +14 -38
- package/build/libarkts-copy/src/generated/peers/TSInterfaceHeritage.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSIntersectionType.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSLiteralType.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSMappedType.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/TSMethodSignature.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/TSModuleBlock.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSModuleDeclaration.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSNamedTupleMember.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSNeverKeyword.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSNonNullExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSNullKeyword.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSNumberKeyword.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSObjectKeyword.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSParameterProperty.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSParenthesizedType.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSPropertySignature.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSQualifiedName.ts +2 -3
- package/build/libarkts-copy/src/generated/peers/TSSignatureDeclaration.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/TSStringKeyword.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSThisType.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSTupleType.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSTypeAliasDeclaration.ts +26 -40
- package/build/libarkts-copy/src/generated/peers/TSTypeAssertion.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSTypeLiteral.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSTypeOperator.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSTypeParameter.ts +11 -13
- package/build/libarkts-copy/src/generated/peers/TSTypeParameterDeclaration.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/TSTypeParameterInstantiation.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSTypePredicate.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSTypeQuery.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSTypeReference.ts +2 -3
- package/build/libarkts-copy/src/generated/peers/TSUndefinedKeyword.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSUnionType.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSUnknownKeyword.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TSVoidKeyword.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TaggedTemplateExpression.ts +2 -3
- package/build/libarkts-copy/src/generated/peers/TemplateElement.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TemplateLiteral.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/ThisExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ThrowStatement.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TryStatement.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/TypeNode.ts +10 -12
- package/build/libarkts-copy/src/generated/peers/TypedAstNode.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TypedStatement.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/TypeofExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/UnaryExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/UndefinedLiteral.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/UpdateExpression.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/VReg.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/ValidationInfo.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/VariableDeclaration.ts +11 -20
- package/build/libarkts-copy/src/generated/peers/VariableDeclarator.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/VerificationContext.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/VerifierMessage.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/WhileStatement.ts +0 -1
- package/build/libarkts-copy/src/generated/peers/YieldExpression.ts +0 -1
- package/build/libarkts-copy/src/index.ts +2 -1
- package/build/libarkts-copy/src/plugin-utils.ts +0 -10
- package/build/libarkts-copy/src/reexport-for-generated.ts +1 -20
- package/build/libarkts-copy/src/utils.ts +3 -0
- package/lib/index.js +34 -22
- package/package.json +4 -3
- package/templates/factory.ts +0 -1
- package/templates/peer.ts +0 -1
- package/build/libarkts-copy/src/arkts-api/ChainExpressionFilter.ts +0 -79
|
@@ -24,7 +24,6 @@ import {
|
|
|
24
24
|
unpackNonNullableNode,
|
|
25
25
|
unpackNode,
|
|
26
26
|
unpackNodeArray,
|
|
27
|
-
assertValidPeer,
|
|
28
27
|
AstNode,
|
|
29
28
|
KNativePointer,
|
|
30
29
|
nodeByType,
|
|
@@ -33,7 +32,6 @@ import {
|
|
|
33
32
|
} from "../../reexport-for-generated"
|
|
34
33
|
|
|
35
34
|
import { AnnotatedExpression } from "./AnnotatedExpression"
|
|
36
|
-
import { Decorator } from "./Decorator"
|
|
37
35
|
import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
38
36
|
import { Expression } from "./Expression"
|
|
39
37
|
import { TypeNode } from "./TypeNode"
|
|
@@ -62,9 +60,6 @@ export class ObjectExpression extends AnnotatedExpression {
|
|
|
62
60
|
get isOptional(): boolean {
|
|
63
61
|
return global.generatedEs2panda._ObjectExpressionIsOptionalConst(global.context, this.peer)
|
|
64
62
|
}
|
|
65
|
-
get decorators(): readonly Decorator[] {
|
|
66
|
-
return unpackNodeArray(global.generatedEs2panda._ObjectExpressionDecoratorsConst(global.context, this.peer))
|
|
67
|
-
}
|
|
68
63
|
get validateExpression(): ValidationInfo | undefined {
|
|
69
64
|
return new ValidationInfo(global.generatedEs2panda._ObjectExpressionValidateExpression(global.context, this.peer))
|
|
70
65
|
}
|
|
@@ -24,7 +24,6 @@ import {
|
|
|
24
24
|
unpackNonNullableNode,
|
|
25
25
|
unpackNode,
|
|
26
26
|
unpackNodeArray,
|
|
27
|
-
assertValidPeer,
|
|
28
27
|
AstNode,
|
|
29
28
|
KNativePointer,
|
|
30
29
|
nodeByType,
|
|
@@ -34,10 +33,12 @@ import {
|
|
|
34
33
|
|
|
35
34
|
import { BlockStatement } from "./BlockStatement"
|
|
36
35
|
import { ClassDefinition } from "./ClassDefinition"
|
|
36
|
+
import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
37
37
|
import { Es2pandaModuleKind } from "./../Es2pandaEnums"
|
|
38
38
|
import { Es2pandaProgramFlags } from "./../Es2pandaEnums"
|
|
39
39
|
import { Es2pandaScriptKind } from "./../Es2pandaEnums"
|
|
40
40
|
import { SourcePosition } from "./SourcePosition"
|
|
41
|
+
import { extension_ProgramGetAstCasted } from "./../../reexport-for-generated"
|
|
41
42
|
import { extension_ProgramGetExternalSources } from "./../../reexport-for-generated"
|
|
42
43
|
|
|
43
44
|
export class Program extends ArktsObject {
|
|
@@ -100,7 +101,7 @@ export class Program extends ArktsObject {
|
|
|
100
101
|
return this
|
|
101
102
|
}
|
|
102
103
|
get globalClass(): ClassDefinition | undefined {
|
|
103
|
-
return unpackNode(global.generatedEs2panda._ProgramGlobalClass(global.context, this.peer))
|
|
104
|
+
return unpackNode(global.generatedEs2panda._ProgramGlobalClass(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_DEFINITION)
|
|
104
105
|
}
|
|
105
106
|
/** @deprecated */
|
|
106
107
|
setGlobalClass(globalClass?: ClassDefinition): this {
|
|
@@ -153,6 +154,11 @@ export class Program extends ArktsObject {
|
|
|
153
154
|
global.generatedEs2panda._ProgramSetASTChecked(global.context, this.peer)
|
|
154
155
|
return this
|
|
155
156
|
}
|
|
157
|
+
/** @deprecated */
|
|
158
|
+
removeAstChecked(): this {
|
|
159
|
+
global.generatedEs2panda._ProgramRemoveAstChecked(global.context, this.peer)
|
|
160
|
+
return this
|
|
161
|
+
}
|
|
156
162
|
get isASTChecked(): boolean {
|
|
157
163
|
return global.generatedEs2panda._ProgramIsASTChecked(global.context, this.peer)
|
|
158
164
|
}
|
|
@@ -191,6 +197,7 @@ export class Program extends ArktsObject {
|
|
|
191
197
|
global.generatedEs2panda._ProgramAddFileDependencies(global.context, this.peer, file, depFile)
|
|
192
198
|
return this
|
|
193
199
|
}
|
|
200
|
+
getAstCasted = extension_ProgramGetAstCasted
|
|
194
201
|
getExternalSources = extension_ProgramGetExternalSources
|
|
195
202
|
protected readonly brandProgram: undefined
|
|
196
203
|
}
|
|
@@ -24,7 +24,6 @@ import {
|
|
|
24
24
|
unpackNonNullableNode,
|
|
25
25
|
unpackNode,
|
|
26
26
|
unpackNodeArray,
|
|
27
|
-
assertValidPeer,
|
|
28
27
|
AstNode,
|
|
29
28
|
KNativePointer,
|
|
30
29
|
nodeByType,
|
|
@@ -39,11 +38,12 @@ import { Expression } from "./Expression"
|
|
|
39
38
|
import { FunctionSignature } from "./FunctionSignature"
|
|
40
39
|
import { Identifier } from "./Identifier"
|
|
41
40
|
import { ReturnStatement } from "./ReturnStatement"
|
|
41
|
+
import { SrcDumper } from "./SrcDumper"
|
|
42
42
|
import { TSTypeParameterDeclaration } from "./TSTypeParameterDeclaration"
|
|
43
43
|
import { TypeNode } from "./TypeNode"
|
|
44
|
+
import { extension_ScriptFunctionGetParamsCasted } from "./../../reexport-for-generated"
|
|
44
45
|
import { extension_ScriptFunctionGetPreferredReturnTypePointer } from "./../../reexport-for-generated"
|
|
45
46
|
import { extension_ScriptFunctionGetSignaturePointer } from "./../../reexport-for-generated"
|
|
46
|
-
import { extension_ScriptFunctionSetParams } from "./../../reexport-for-generated"
|
|
47
47
|
import { extension_ScriptFunctionSetPreferredReturnTypePointer } from "./../../reexport-for-generated"
|
|
48
48
|
import { extension_ScriptFunctionSetSignaturePointer } from "./../../reexport-for-generated"
|
|
49
49
|
|
|
@@ -78,19 +78,19 @@ export class ScriptFunction extends AstNode {
|
|
|
78
78
|
return result
|
|
79
79
|
}
|
|
80
80
|
get id(): Identifier | undefined {
|
|
81
|
-
return unpackNode(global.generatedEs2panda._ScriptFunctionId(global.context, this.peer))
|
|
81
|
+
return unpackNode(global.generatedEs2panda._ScriptFunctionId(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER)
|
|
82
82
|
}
|
|
83
83
|
get params(): readonly Expression[] {
|
|
84
84
|
return unpackNodeArray(global.generatedEs2panda._ScriptFunctionParams(global.context, this.peer))
|
|
85
85
|
}
|
|
86
86
|
get returnStatements(): readonly ReturnStatement[] {
|
|
87
|
-
return unpackNodeArray(global.generatedEs2panda._ScriptFunctionReturnStatements(global.context, this.peer))
|
|
87
|
+
return unpackNodeArray(global.generatedEs2panda._ScriptFunctionReturnStatements(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_RETURN_STATEMENT)
|
|
88
88
|
}
|
|
89
89
|
get returnStatementsForUpdate(): readonly ReturnStatement[] {
|
|
90
|
-
return unpackNodeArray(global.generatedEs2panda._ScriptFunctionReturnStatementsForUpdate(global.context, this.peer))
|
|
90
|
+
return unpackNodeArray(global.generatedEs2panda._ScriptFunctionReturnStatementsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_RETURN_STATEMENT)
|
|
91
91
|
}
|
|
92
92
|
get typeParams(): TSTypeParameterDeclaration | undefined {
|
|
93
|
-
return unpackNode(global.generatedEs2panda._ScriptFunctionTypeParams(global.context, this.peer))
|
|
93
|
+
return unpackNode(global.generatedEs2panda._ScriptFunctionTypeParams(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION)
|
|
94
94
|
}
|
|
95
95
|
get body(): AstNode | undefined {
|
|
96
96
|
return unpackNode(global.generatedEs2panda._ScriptFunctionBody(global.context, this.peer))
|
|
@@ -221,7 +221,7 @@ export class ScriptFunction extends AstNode {
|
|
|
221
221
|
return this
|
|
222
222
|
}
|
|
223
223
|
get asyncPairMethod(): ScriptFunction | undefined {
|
|
224
|
-
return unpackNode(global.generatedEs2panda._ScriptFunctionAsyncPairMethod(global.context, this.peer))
|
|
224
|
+
return unpackNode(global.generatedEs2panda._ScriptFunctionAsyncPairMethod(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_SCRIPT_FUNCTION)
|
|
225
225
|
}
|
|
226
226
|
/** @deprecated */
|
|
227
227
|
emplaceReturnStatements(returnStatements?: ReturnStatement): this {
|
|
@@ -244,6 +244,11 @@ export class ScriptFunction extends AstNode {
|
|
|
244
244
|
return this
|
|
245
245
|
}
|
|
246
246
|
/** @deprecated */
|
|
247
|
+
setParams(paramsList: readonly Expression[]): this {
|
|
248
|
+
global.generatedEs2panda._ScriptFunctionSetParams(global.context, this.peer, passNodeArray(paramsList), paramsList.length)
|
|
249
|
+
return this
|
|
250
|
+
}
|
|
251
|
+
/** @deprecated */
|
|
247
252
|
clearParams(): this {
|
|
248
253
|
global.generatedEs2panda._ScriptFunctionClearParams(global.context, this.peer)
|
|
249
254
|
return this
|
|
@@ -256,9 +261,12 @@ export class ScriptFunction extends AstNode {
|
|
|
256
261
|
get paramsForUpdate(): readonly Expression[] {
|
|
257
262
|
return unpackNodeArray(global.generatedEs2panda._ScriptFunctionParamsForUpdate(global.context, this.peer))
|
|
258
263
|
}
|
|
264
|
+
get hasAnnotations(): boolean {
|
|
265
|
+
return global.generatedEs2panda._ScriptFunctionHasAnnotationsConst(global.context, this.peer)
|
|
266
|
+
}
|
|
259
267
|
/** @deprecated */
|
|
260
|
-
|
|
261
|
-
global.generatedEs2panda.
|
|
268
|
+
emplaceAnnotation(source?: AnnotationUsage): this {
|
|
269
|
+
global.generatedEs2panda._ScriptFunctionEmplaceAnnotation(global.context, this.peer, passNode(source))
|
|
262
270
|
return this
|
|
263
271
|
}
|
|
264
272
|
/** @deprecated */
|
|
@@ -267,15 +275,15 @@ export class ScriptFunction extends AstNode {
|
|
|
267
275
|
return this
|
|
268
276
|
}
|
|
269
277
|
/** @deprecated */
|
|
270
|
-
|
|
271
|
-
global.generatedEs2panda.
|
|
278
|
+
dumpAnnotations(dumper?: SrcDumper): this {
|
|
279
|
+
global.generatedEs2panda._ScriptFunctionDumpAnnotationsConst(global.context, this.peer, passNode(dumper))
|
|
272
280
|
return this
|
|
273
281
|
}
|
|
274
282
|
get annotationsForUpdate(): readonly AnnotationUsage[] {
|
|
275
|
-
return unpackNodeArray(global.generatedEs2panda._ScriptFunctionAnnotationsForUpdate(global.context, this.peer))
|
|
283
|
+
return unpackNodeArray(global.generatedEs2panda._ScriptFunctionAnnotationsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE)
|
|
276
284
|
}
|
|
277
285
|
get annotations(): readonly AnnotationUsage[] {
|
|
278
|
-
return unpackNodeArray(global.generatedEs2panda._ScriptFunctionAnnotations(global.context, this.peer))
|
|
286
|
+
return unpackNodeArray(global.generatedEs2panda._ScriptFunctionAnnotations(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE)
|
|
279
287
|
}
|
|
280
288
|
/** @deprecated */
|
|
281
289
|
setAnnotations(annotationList: readonly AnnotationUsage[]): this {
|
|
@@ -287,16 +295,11 @@ export class ScriptFunction extends AstNode {
|
|
|
287
295
|
global.generatedEs2panda._ScriptFunctionSetAnnotations1(global.context, this.peer, passNodeArray(annotationList), annotationList.length)
|
|
288
296
|
return this
|
|
289
297
|
}
|
|
290
|
-
/** @deprecated */
|
|
291
|
-
addAnnotations(annotations?: AnnotationUsage): this {
|
|
292
|
-
global.generatedEs2panda._ScriptFunctionAddAnnotations(global.context, this.peer, passNode(annotations))
|
|
293
|
-
return this
|
|
294
|
-
}
|
|
295
298
|
getSignaturePointer = extension_ScriptFunctionGetSignaturePointer
|
|
296
299
|
setSignaturePointer = extension_ScriptFunctionSetSignaturePointer
|
|
300
|
+
getParamsCasted = extension_ScriptFunctionGetParamsCasted
|
|
297
301
|
getPreferredReturnTypePointer = extension_ScriptFunctionGetPreferredReturnTypePointer
|
|
298
302
|
setPreferredReturnTypePointer = extension_ScriptFunctionSetPreferredReturnTypePointer
|
|
299
|
-
setParams = extension_ScriptFunctionSetParams
|
|
300
303
|
protected readonly brandScriptFunction: undefined
|
|
301
304
|
}
|
|
302
305
|
export function isScriptFunction(node: object | undefined): node is ScriptFunction {
|
|
@@ -24,7 +24,6 @@ import {
|
|
|
24
24
|
unpackNonNullableNode,
|
|
25
25
|
unpackNode,
|
|
26
26
|
unpackNodeArray,
|
|
27
|
-
assertValidPeer,
|
|
28
27
|
AstNode,
|
|
29
28
|
KNativePointer,
|
|
30
29
|
nodeByType,
|
|
@@ -33,6 +32,7 @@ import {
|
|
|
33
32
|
} from "../../reexport-for-generated"
|
|
34
33
|
|
|
35
34
|
import { extension_SourcePositionGetCol } from "./../../reexport-for-generated"
|
|
35
|
+
import { extension_SourcePositionGetIndex } from "./../../reexport-for-generated"
|
|
36
36
|
import { extension_SourcePositionGetLine } from "./../../reexport-for-generated"
|
|
37
37
|
import { extension_SourcePositionToString } from "./../../reexport-for-generated"
|
|
38
38
|
|
|
@@ -42,6 +42,7 @@ export class SourcePosition extends ArktsObject {
|
|
|
42
42
|
}
|
|
43
43
|
getLine = extension_SourcePositionGetLine
|
|
44
44
|
getCol = extension_SourcePositionGetCol
|
|
45
|
+
getIndex = extension_SourcePositionGetIndex
|
|
45
46
|
toString = extension_SourcePositionToString
|
|
46
47
|
protected readonly brandSourcePosition: undefined
|
|
47
48
|
}
|
|
@@ -24,7 +24,6 @@ import {
|
|
|
24
24
|
unpackNonNullableNode,
|
|
25
25
|
unpackNode,
|
|
26
26
|
unpackNodeArray,
|
|
27
|
-
assertValidPeer,
|
|
28
27
|
AstNode,
|
|
29
28
|
KNativePointer,
|
|
30
29
|
nodeByType,
|
|
@@ -33,7 +32,6 @@ import {
|
|
|
33
32
|
} from "../../reexport-for-generated"
|
|
34
33
|
|
|
35
34
|
import { AnnotatedExpression } from "./AnnotatedExpression"
|
|
36
|
-
import { Decorator } from "./Decorator"
|
|
37
35
|
import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
38
36
|
import { Expression } from "./Expression"
|
|
39
37
|
import { TypeNode } from "./TypeNode"
|
|
@@ -59,9 +57,6 @@ export class SpreadElement extends AnnotatedExpression {
|
|
|
59
57
|
get isOptional(): boolean {
|
|
60
58
|
return global.generatedEs2panda._SpreadElementIsOptionalConst(global.context, this.peer)
|
|
61
59
|
}
|
|
62
|
-
get decorators(): readonly Decorator[] {
|
|
63
|
-
return unpackNodeArray(global.generatedEs2panda._SpreadElementDecoratorsConst(global.context, this.peer))
|
|
64
|
-
}
|
|
65
60
|
/** @deprecated */
|
|
66
61
|
setOptional(optional_arg: boolean): this {
|
|
67
62
|
global.generatedEs2panda._SpreadElementSetOptional(global.context, this.peer, optional_arg)
|
|
@@ -24,7 +24,6 @@ import {
|
|
|
24
24
|
unpackNonNullableNode,
|
|
25
25
|
unpackNode,
|
|
26
26
|
unpackNodeArray,
|
|
27
|
-
assertValidPeer,
|
|
28
27
|
AstNode,
|
|
29
28
|
KNativePointer,
|
|
30
29
|
nodeByType,
|
|
@@ -60,7 +59,7 @@ export class SwitchStatement extends Statement {
|
|
|
60
59
|
return this
|
|
61
60
|
}
|
|
62
61
|
get cases(): readonly SwitchCaseStatement[] {
|
|
63
|
-
return unpackNodeArray(global.generatedEs2panda._SwitchStatementCases(global.context, this.peer))
|
|
62
|
+
return unpackNodeArray(global.generatedEs2panda._SwitchStatementCases(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_SWITCH_CASE_STATEMENT)
|
|
64
63
|
}
|
|
65
64
|
protected readonly brandSwitchStatement: undefined
|
|
66
65
|
}
|
|
@@ -24,7 +24,6 @@ import {
|
|
|
24
24
|
unpackNonNullableNode,
|
|
25
25
|
unpackNode,
|
|
26
26
|
unpackNodeArray,
|
|
27
|
-
assertValidPeer,
|
|
28
27
|
AstNode,
|
|
29
28
|
KNativePointer,
|
|
30
29
|
nodeByType,
|
|
@@ -59,7 +58,7 @@ export class TSClassImplements extends Expression {
|
|
|
59
58
|
return unpackNode(global.generatedEs2panda._TSClassImplementsExpr(global.context, this.peer))
|
|
60
59
|
}
|
|
61
60
|
get typeParameters(): TSTypeParameterInstantiation | undefined {
|
|
62
|
-
return unpackNode(global.generatedEs2panda._TSClassImplementsTypeParametersConst(global.context, this.peer))
|
|
61
|
+
return unpackNode(global.generatedEs2panda._TSClassImplementsTypeParametersConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_INSTANTIATION)
|
|
63
62
|
}
|
|
64
63
|
protected readonly brandTSClassImplements: undefined
|
|
65
64
|
}
|
|
@@ -24,7 +24,6 @@ import {
|
|
|
24
24
|
unpackNonNullableNode,
|
|
25
25
|
unpackNode,
|
|
26
26
|
unpackNodeArray,
|
|
27
|
-
assertValidPeer,
|
|
28
27
|
AstNode,
|
|
29
28
|
KNativePointer,
|
|
30
29
|
nodeByType,
|
|
@@ -53,7 +52,7 @@ export class TSConstructorType extends TypeNode {
|
|
|
53
52
|
return result
|
|
54
53
|
}
|
|
55
54
|
get typeParams(): TSTypeParameterDeclaration | undefined {
|
|
56
|
-
return unpackNode(global.generatedEs2panda._TSConstructorTypeTypeParams(global.context, this.peer))
|
|
55
|
+
return unpackNode(global.generatedEs2panda._TSConstructorTypeTypeParams(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION)
|
|
57
56
|
}
|
|
58
57
|
get params(): readonly Expression[] {
|
|
59
58
|
return unpackNodeArray(global.generatedEs2panda._TSConstructorTypeParamsConst(global.context, this.peer))
|
|
@@ -24,7 +24,6 @@ import {
|
|
|
24
24
|
unpackNonNullableNode,
|
|
25
25
|
unpackNode,
|
|
26
26
|
unpackNodeArray,
|
|
27
|
-
assertValidPeer,
|
|
28
27
|
AstNode,
|
|
29
28
|
KNativePointer,
|
|
30
29
|
nodeByType,
|
|
@@ -33,7 +32,6 @@ import {
|
|
|
33
32
|
} from "../../reexport-for-generated"
|
|
34
33
|
|
|
35
34
|
import { ClassDefinition } from "./ClassDefinition"
|
|
36
|
-
import { Decorator } from "./Decorator"
|
|
37
35
|
import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
38
36
|
import { Identifier } from "./Identifier"
|
|
39
37
|
import { TypeNode } from "./TypeNode"
|
|
@@ -62,7 +60,7 @@ export class TSEnumDeclaration extends TypedStatement {
|
|
|
62
60
|
return unpackNode(global.generatedEs2panda._TSEnumDeclarationTypeNodes(global.context, this.peer))
|
|
63
61
|
}
|
|
64
62
|
get key(): Identifier | undefined {
|
|
65
|
-
return unpackNode(global.generatedEs2panda._TSEnumDeclarationKey(global.context, this.peer))
|
|
63
|
+
return unpackNode(global.generatedEs2panda._TSEnumDeclarationKey(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER)
|
|
66
64
|
}
|
|
67
65
|
get members(): readonly AstNode[] {
|
|
68
66
|
return unpackNodeArray(global.generatedEs2panda._TSEnumDeclarationMembersConst(global.context, this.peer))
|
|
@@ -76,7 +74,7 @@ export class TSEnumDeclaration extends TypedStatement {
|
|
|
76
74
|
return this
|
|
77
75
|
}
|
|
78
76
|
get boxedClass(): ClassDefinition | undefined {
|
|
79
|
-
return unpackNode(global.generatedEs2panda._TSEnumDeclarationBoxedClassConst(global.context, this.peer))
|
|
77
|
+
return unpackNode(global.generatedEs2panda._TSEnumDeclarationBoxedClassConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_DEFINITION)
|
|
80
78
|
}
|
|
81
79
|
/** @deprecated */
|
|
82
80
|
setBoxedClass(boxedClass?: ClassDefinition): this {
|
|
@@ -86,27 +84,6 @@ export class TSEnumDeclaration extends TypedStatement {
|
|
|
86
84
|
get isConst(): boolean {
|
|
87
85
|
return global.generatedEs2panda._TSEnumDeclarationIsConstConst(global.context, this.peer)
|
|
88
86
|
}
|
|
89
|
-
get decorators(): readonly Decorator[] {
|
|
90
|
-
return unpackNodeArray(global.generatedEs2panda._TSEnumDeclarationDecoratorsConst(global.context, this.peer))
|
|
91
|
-
}
|
|
92
|
-
/** @deprecated */
|
|
93
|
-
emplaceDecorators(source?: Decorator): this {
|
|
94
|
-
global.generatedEs2panda._TSEnumDeclarationEmplaceDecorators(global.context, this.peer, passNode(source))
|
|
95
|
-
return this
|
|
96
|
-
}
|
|
97
|
-
/** @deprecated */
|
|
98
|
-
clearDecorators(): this {
|
|
99
|
-
global.generatedEs2panda._TSEnumDeclarationClearDecorators(global.context, this.peer)
|
|
100
|
-
return this
|
|
101
|
-
}
|
|
102
|
-
/** @deprecated */
|
|
103
|
-
setValueDecorators(source: Decorator | undefined, index: number): this {
|
|
104
|
-
global.generatedEs2panda._TSEnumDeclarationSetValueDecorators(global.context, this.peer, passNode(source), index)
|
|
105
|
-
return this
|
|
106
|
-
}
|
|
107
|
-
get decoratorsForUpdate(): readonly Decorator[] {
|
|
108
|
-
return unpackNodeArray(global.generatedEs2panda._TSEnumDeclarationDecoratorsForUpdate(global.context, this.peer))
|
|
109
|
-
}
|
|
110
87
|
/** @deprecated */
|
|
111
88
|
emplaceMembers(source?: AstNode): this {
|
|
112
89
|
global.generatedEs2panda._TSEnumDeclarationEmplaceMembers(global.context, this.peer, passNode(source))
|
|
@@ -24,7 +24,6 @@ import {
|
|
|
24
24
|
unpackNonNullableNode,
|
|
25
25
|
unpackNode,
|
|
26
26
|
unpackNodeArray,
|
|
27
|
-
assertValidPeer,
|
|
28
27
|
AstNode,
|
|
29
28
|
KNativePointer,
|
|
30
29
|
nodeByType,
|
|
@@ -53,7 +52,7 @@ export class TSFunctionType extends TypeNode {
|
|
|
53
52
|
return result
|
|
54
53
|
}
|
|
55
54
|
get typeParams(): TSTypeParameterDeclaration | undefined {
|
|
56
|
-
return unpackNode(global.generatedEs2panda._TSFunctionTypeTypeParams(global.context, this.peer))
|
|
55
|
+
return unpackNode(global.generatedEs2panda._TSFunctionTypeTypeParams(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION)
|
|
57
56
|
}
|
|
58
57
|
get params(): readonly Expression[] {
|
|
59
58
|
return unpackNodeArray(global.generatedEs2panda._TSFunctionTypeParamsConst(global.context, this.peer))
|
|
@@ -24,7 +24,6 @@ import {
|
|
|
24
24
|
unpackNonNullableNode,
|
|
25
25
|
unpackNode,
|
|
26
26
|
unpackNodeArray,
|
|
27
|
-
assertValidPeer,
|
|
28
27
|
AstNode,
|
|
29
28
|
KNativePointer,
|
|
30
29
|
nodeByType,
|
|
@@ -52,7 +51,7 @@ export class TSImportEqualsDeclaration extends Statement {
|
|
|
52
51
|
return result
|
|
53
52
|
}
|
|
54
53
|
get id(): Identifier | undefined {
|
|
55
|
-
return unpackNode(global.generatedEs2panda._TSImportEqualsDeclarationIdConst(global.context, this.peer))
|
|
54
|
+
return unpackNode(global.generatedEs2panda._TSImportEqualsDeclarationIdConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER)
|
|
56
55
|
}
|
|
57
56
|
get moduleReference(): Expression | undefined {
|
|
58
57
|
return unpackNode(global.generatedEs2panda._TSImportEqualsDeclarationModuleReferenceConst(global.context, this.peer))
|
|
@@ -24,7 +24,6 @@ import {
|
|
|
24
24
|
unpackNonNullableNode,
|
|
25
25
|
unpackNode,
|
|
26
26
|
unpackNodeArray,
|
|
27
|
-
assertValidPeer,
|
|
28
27
|
AstNode,
|
|
29
28
|
KNativePointer,
|
|
30
29
|
nodeByType,
|
|
@@ -55,7 +54,7 @@ export class TSImportType extends TypeNode {
|
|
|
55
54
|
return unpackNode(global.generatedEs2panda._TSImportTypeParamConst(global.context, this.peer))
|
|
56
55
|
}
|
|
57
56
|
get typeParams(): TSTypeParameterInstantiation | undefined {
|
|
58
|
-
return unpackNode(global.generatedEs2panda._TSImportTypeTypeParamsConst(global.context, this.peer))
|
|
57
|
+
return unpackNode(global.generatedEs2panda._TSImportTypeTypeParamsConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_INSTANTIATION)
|
|
59
58
|
}
|
|
60
59
|
get qualifier(): Expression | undefined {
|
|
61
60
|
return unpackNode(global.generatedEs2panda._TSImportTypeQualifierConst(global.context, this.peer))
|