@idlizer/arktscgen 2.1.10-arktscgen-2 → 2.1.10-arktscgen-3a
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 +416 -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 +8 -8
- 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-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 +61 -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 +88 -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 +3 -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/lib/index.js +115 -38
- 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,
|
|
@@ -58,16 +57,16 @@ export class ETSTypeReferencePart extends TypeNode {
|
|
|
58
57
|
return result
|
|
59
58
|
}
|
|
60
59
|
get previous(): ETSTypeReferencePart | undefined {
|
|
61
|
-
return unpackNode(global.generatedEs2panda._ETSTypeReferencePartPrevious(global.context, this.peer))
|
|
60
|
+
return unpackNode(global.generatedEs2panda._ETSTypeReferencePartPrevious(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TYPE_REFERENCE_PART)
|
|
62
61
|
}
|
|
63
62
|
get name(): Expression | undefined {
|
|
64
63
|
return unpackNode(global.generatedEs2panda._ETSTypeReferencePartName(global.context, this.peer))
|
|
65
64
|
}
|
|
66
65
|
get typeParams(): TSTypeParameterInstantiation | undefined {
|
|
67
|
-
return unpackNode(global.generatedEs2panda._ETSTypeReferencePartTypeParams(global.context, this.peer))
|
|
66
|
+
return unpackNode(global.generatedEs2panda._ETSTypeReferencePartTypeParams(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_INSTANTIATION)
|
|
68
67
|
}
|
|
69
68
|
get ident(): Identifier | undefined {
|
|
70
|
-
return unpackNode(global.generatedEs2panda._ETSTypeReferencePartGetIdent(global.context, this.peer))
|
|
69
|
+
return unpackNode(global.generatedEs2panda._ETSTypeReferencePartGetIdent(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER)
|
|
71
70
|
}
|
|
72
71
|
protected readonly brandETSTypeReferencePart: undefined
|
|
73
72
|
}
|
|
@@ -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 ETSWildcardType extends TypeNode {
|
|
|
52
51
|
return result
|
|
53
52
|
}
|
|
54
53
|
get typeReference(): ETSTypeReference | undefined {
|
|
55
|
-
return unpackNode(global.generatedEs2panda._ETSWildcardTypeTypeReference(global.context, this.peer))
|
|
54
|
+
return unpackNode(global.generatedEs2panda._ETSWildcardTypeTypeReference(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TYPE_REFERENCE)
|
|
56
55
|
}
|
|
57
56
|
protected readonly brandETSWildcardType: undefined
|
|
58
57
|
}
|
|
@@ -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,10 +51,10 @@ export class ExportAllDeclaration extends Statement {
|
|
|
52
51
|
return result
|
|
53
52
|
}
|
|
54
53
|
get source(): StringLiteral | undefined {
|
|
55
|
-
return unpackNode(global.generatedEs2panda._ExportAllDeclarationSourceConst(global.context, this.peer))
|
|
54
|
+
return unpackNode(global.generatedEs2panda._ExportAllDeclarationSourceConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_STRING_LITERAL)
|
|
56
55
|
}
|
|
57
56
|
get exported(): Identifier | undefined {
|
|
58
|
-
return unpackNode(global.generatedEs2panda._ExportAllDeclarationExportedConst(global.context, this.peer))
|
|
57
|
+
return unpackNode(global.generatedEs2panda._ExportAllDeclarationExportedConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER)
|
|
59
58
|
}
|
|
60
59
|
protected readonly brandExportAllDeclaration: undefined
|
|
61
60
|
}
|
|
@@ -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,
|
|
@@ -75,10 +74,10 @@ export class ExportNamedDeclaration extends Statement {
|
|
|
75
74
|
return unpackNode(global.generatedEs2panda._ExportNamedDeclarationDeclConst(global.context, this.peer))
|
|
76
75
|
}
|
|
77
76
|
get source(): StringLiteral | undefined {
|
|
78
|
-
return unpackNode(global.generatedEs2panda._ExportNamedDeclarationSourceConst(global.context, this.peer))
|
|
77
|
+
return unpackNode(global.generatedEs2panda._ExportNamedDeclarationSourceConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_STRING_LITERAL)
|
|
79
78
|
}
|
|
80
79
|
get specifiers(): readonly ExportSpecifier[] {
|
|
81
|
-
return unpackNodeArray(global.generatedEs2panda._ExportNamedDeclarationSpecifiersConst(global.context, this.peer))
|
|
80
|
+
return unpackNodeArray(global.generatedEs2panda._ExportNamedDeclarationSpecifiersConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_SPECIFIER)
|
|
82
81
|
}
|
|
83
82
|
/** @deprecated */
|
|
84
83
|
replaceSpecifiers(specifiers: readonly ExportSpecifier[]): this {
|
|
@@ -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,10 +51,10 @@ export class ExportSpecifier extends Statement {
|
|
|
52
51
|
return result
|
|
53
52
|
}
|
|
54
53
|
get local(): Identifier | undefined {
|
|
55
|
-
return unpackNode(global.generatedEs2panda._ExportSpecifierLocalConst(global.context, this.peer))
|
|
54
|
+
return unpackNode(global.generatedEs2panda._ExportSpecifierLocalConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER)
|
|
56
55
|
}
|
|
57
56
|
get exported(): Identifier | undefined {
|
|
58
|
-
return unpackNode(global.generatedEs2panda._ExportSpecifierExportedConst(global.context, this.peer))
|
|
57
|
+
return unpackNode(global.generatedEs2panda._ExportSpecifierExportedConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER)
|
|
59
58
|
}
|
|
60
59
|
/** @deprecated */
|
|
61
60
|
setDefault(): this {
|
|
@@ -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,9 +32,9 @@ import {
|
|
|
33
32
|
} from "../../reexport-for-generated"
|
|
34
33
|
|
|
35
34
|
import { AnnotationUsage } from "./AnnotationUsage"
|
|
36
|
-
import { Decorator } from "./Decorator"
|
|
37
35
|
import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
38
36
|
import { ScriptFunction } from "./ScriptFunction"
|
|
37
|
+
import { SrcDumper } from "./SrcDumper"
|
|
39
38
|
import { Statement } from "./Statement"
|
|
40
39
|
|
|
41
40
|
export class FunctionDeclaration extends Statement {
|
|
@@ -58,17 +57,17 @@ export class FunctionDeclaration extends Statement {
|
|
|
58
57
|
return result
|
|
59
58
|
}
|
|
60
59
|
get function(): ScriptFunction | undefined {
|
|
61
|
-
return unpackNode(global.generatedEs2panda._FunctionDeclarationFunction(global.context, this.peer))
|
|
60
|
+
return unpackNode(global.generatedEs2panda._FunctionDeclarationFunction(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_SCRIPT_FUNCTION)
|
|
62
61
|
}
|
|
63
62
|
get isAnonymous(): boolean {
|
|
64
63
|
return global.generatedEs2panda._FunctionDeclarationIsAnonymousConst(global.context, this.peer)
|
|
65
64
|
}
|
|
66
|
-
get
|
|
67
|
-
return
|
|
65
|
+
get hasAnnotations(): boolean {
|
|
66
|
+
return global.generatedEs2panda._FunctionDeclarationHasAnnotationsConst(global.context, this.peer)
|
|
68
67
|
}
|
|
69
68
|
/** @deprecated */
|
|
70
|
-
|
|
71
|
-
global.generatedEs2panda.
|
|
69
|
+
emplaceAnnotation(source?: AnnotationUsage): this {
|
|
70
|
+
global.generatedEs2panda._FunctionDeclarationEmplaceAnnotation(global.context, this.peer, passNode(source))
|
|
72
71
|
return this
|
|
73
72
|
}
|
|
74
73
|
/** @deprecated */
|
|
@@ -77,15 +76,15 @@ export class FunctionDeclaration extends Statement {
|
|
|
77
76
|
return this
|
|
78
77
|
}
|
|
79
78
|
/** @deprecated */
|
|
80
|
-
|
|
81
|
-
global.generatedEs2panda.
|
|
79
|
+
dumpAnnotations(dumper?: SrcDumper): this {
|
|
80
|
+
global.generatedEs2panda._FunctionDeclarationDumpAnnotationsConst(global.context, this.peer, passNode(dumper))
|
|
82
81
|
return this
|
|
83
82
|
}
|
|
84
83
|
get annotationsForUpdate(): readonly AnnotationUsage[] {
|
|
85
|
-
return unpackNodeArray(global.generatedEs2panda._FunctionDeclarationAnnotationsForUpdate(global.context, this.peer))
|
|
84
|
+
return unpackNodeArray(global.generatedEs2panda._FunctionDeclarationAnnotationsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE)
|
|
86
85
|
}
|
|
87
86
|
get annotations(): readonly AnnotationUsage[] {
|
|
88
|
-
return unpackNodeArray(global.generatedEs2panda._FunctionDeclarationAnnotations(global.context, this.peer))
|
|
87
|
+
return unpackNodeArray(global.generatedEs2panda._FunctionDeclarationAnnotations(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE)
|
|
89
88
|
}
|
|
90
89
|
/** @deprecated */
|
|
91
90
|
setAnnotations(annotationList: readonly AnnotationUsage[]): this {
|
|
@@ -97,11 +96,6 @@ export class FunctionDeclaration extends Statement {
|
|
|
97
96
|
global.generatedEs2panda._FunctionDeclarationSetAnnotations1(global.context, this.peer, passNodeArray(annotationList), annotationList.length)
|
|
98
97
|
return this
|
|
99
98
|
}
|
|
100
|
-
/** @deprecated */
|
|
101
|
-
addAnnotations(annotations?: AnnotationUsage): this {
|
|
102
|
-
global.generatedEs2panda._FunctionDeclarationAddAnnotations(global.context, this.peer, passNode(annotations))
|
|
103
|
-
return this
|
|
104
|
-
}
|
|
105
99
|
protected readonly brandFunctionDeclaration: undefined
|
|
106
100
|
}
|
|
107
101
|
export function isFunctionDeclaration(node: object | undefined): node is FunctionDeclaration {
|
|
@@ -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,
|
|
@@ -57,13 +56,13 @@ export class FunctionExpression extends Expression {
|
|
|
57
56
|
return result
|
|
58
57
|
}
|
|
59
58
|
get function(): ScriptFunction | undefined {
|
|
60
|
-
return unpackNode(global.generatedEs2panda._FunctionExpressionFunction(global.context, this.peer))
|
|
59
|
+
return unpackNode(global.generatedEs2panda._FunctionExpressionFunction(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_SCRIPT_FUNCTION)
|
|
61
60
|
}
|
|
62
61
|
get isAnonymous(): boolean {
|
|
63
62
|
return global.generatedEs2panda._FunctionExpressionIsAnonymousConst(global.context, this.peer)
|
|
64
63
|
}
|
|
65
64
|
get id(): Identifier | undefined {
|
|
66
|
-
return unpackNode(global.generatedEs2panda._FunctionExpressionId(global.context, this.peer))
|
|
65
|
+
return unpackNode(global.generatedEs2panda._FunctionExpressionId(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER)
|
|
67
66
|
}
|
|
68
67
|
protected readonly brandFunctionExpression: undefined
|
|
69
68
|
}
|
|
@@ -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,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
unpackString
|
|
33
32
|
} from "../../reexport-for-generated"
|
|
34
33
|
|
|
34
|
+
import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
35
35
|
import { Expression } from "./Expression"
|
|
36
36
|
import { TSTypeParameterDeclaration } from "./TSTypeParameterDeclaration"
|
|
37
37
|
import { TypeNode } from "./TypeNode"
|
|
@@ -47,7 +47,7 @@ export class FunctionSignature extends ArktsObject {
|
|
|
47
47
|
return unpackNodeArray(global.generatedEs2panda._FunctionSignatureParams(global.context, this.peer))
|
|
48
48
|
}
|
|
49
49
|
get typeParams(): TSTypeParameterDeclaration | undefined {
|
|
50
|
-
return unpackNode(global.generatedEs2panda._FunctionSignatureTypeParams(global.context, this.peer))
|
|
50
|
+
return unpackNode(global.generatedEs2panda._FunctionSignatureTypeParams(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION)
|
|
51
51
|
}
|
|
52
52
|
get returnType(): TypeNode | undefined {
|
|
53
53
|
return unpackNode(global.generatedEs2panda._FunctionSignatureReturnType(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 { AnnotatedExpression } from "./AnnotatedExpression"
|
|
36
|
-
import { Decorator } from "./Decorator"
|
|
37
35
|
import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
|
|
38
36
|
import { TypeNode } from "./TypeNode"
|
|
39
37
|
import { ValidationInfo } from "./ValidationInfo"
|
|
@@ -70,14 +68,6 @@ export class Identifier extends AnnotatedExpression {
|
|
|
70
68
|
global.generatedEs2panda._IdentifierSetName(global.context, this.peer, newName)
|
|
71
69
|
return this
|
|
72
70
|
}
|
|
73
|
-
/** @deprecated */
|
|
74
|
-
setValueDecorators(source: Decorator | undefined, index: number): this {
|
|
75
|
-
global.generatedEs2panda._IdentifierSetValueDecorators(global.context, this.peer, passNode(source), index)
|
|
76
|
-
return this
|
|
77
|
-
}
|
|
78
|
-
get decorators(): readonly Decorator[] {
|
|
79
|
-
return unpackNodeArray(global.generatedEs2panda._IdentifierDecoratorsConst(global.context, this.peer))
|
|
80
|
-
}
|
|
81
71
|
get isErrorPlaceHolder(): boolean {
|
|
82
72
|
return global.generatedEs2panda._IdentifierIsErrorPlaceHolderConst(global.context, this.peer)
|
|
83
73
|
}
|
|
@@ -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,
|
|
@@ -70,7 +69,7 @@ export class ImportDeclaration extends Statement {
|
|
|
70
69
|
return unpackNodeArray(global.generatedEs2panda._ImportDeclarationSpecifiersForUpdate(global.context, this.peer))
|
|
71
70
|
}
|
|
72
71
|
get source(): StringLiteral | undefined {
|
|
73
|
-
return unpackNode(global.generatedEs2panda._ImportDeclarationSource(global.context, this.peer))
|
|
72
|
+
return unpackNode(global.generatedEs2panda._ImportDeclarationSource(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_STRING_LITERAL)
|
|
74
73
|
}
|
|
75
74
|
get specifiers(): readonly AstNode[] {
|
|
76
75
|
return unpackNodeArray(global.generatedEs2panda._ImportDeclarationSpecifiersConst(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,
|
|
@@ -51,7 +50,7 @@ export class ImportDefaultSpecifier extends Statement {
|
|
|
51
50
|
return result
|
|
52
51
|
}
|
|
53
52
|
get local(): Identifier | undefined {
|
|
54
|
-
return unpackNode(global.generatedEs2panda._ImportDefaultSpecifierLocal(global.context, this.peer))
|
|
53
|
+
return unpackNode(global.generatedEs2panda._ImportDefaultSpecifierLocal(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER)
|
|
55
54
|
}
|
|
56
55
|
protected readonly brandImportDefaultSpecifier: undefined
|
|
57
56
|
}
|
|
@@ -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,
|
|
@@ -51,7 +50,7 @@ export class ImportNamespaceSpecifier extends Statement {
|
|
|
51
50
|
return result
|
|
52
51
|
}
|
|
53
52
|
get local(): Identifier | undefined {
|
|
54
|
-
return unpackNode(global.generatedEs2panda._ImportNamespaceSpecifierLocal(global.context, this.peer))
|
|
53
|
+
return unpackNode(global.generatedEs2panda._ImportNamespaceSpecifierLocal(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER)
|
|
55
54
|
}
|
|
56
55
|
protected readonly brandImportNamespaceSpecifier: undefined
|
|
57
56
|
}
|
|
@@ -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,
|
|
@@ -51,10 +50,10 @@ export class ImportSpecifier extends Statement {
|
|
|
51
50
|
return result
|
|
52
51
|
}
|
|
53
52
|
get imported(): Identifier | undefined {
|
|
54
|
-
return unpackNode(global.generatedEs2panda._ImportSpecifierImported(global.context, this.peer))
|
|
53
|
+
return unpackNode(global.generatedEs2panda._ImportSpecifierImported(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER)
|
|
55
54
|
}
|
|
56
55
|
get local(): Identifier | undefined {
|
|
57
|
-
return unpackNode(global.generatedEs2panda._ImportSpecifierLocal(global.context, this.peer))
|
|
56
|
+
return unpackNode(global.generatedEs2panda._ImportSpecifierLocal(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER)
|
|
58
57
|
}
|
|
59
58
|
get isRemovable(): boolean {
|
|
60
59
|
return global.generatedEs2panda._ImportSpecifierIsRemovableConst(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,
|
|
@@ -54,7 +53,7 @@ export class LabelledStatement extends Statement {
|
|
|
54
53
|
return unpackNode(global.generatedEs2panda._LabelledStatementBody(global.context, this.peer))
|
|
55
54
|
}
|
|
56
55
|
get ident(): Identifier | undefined {
|
|
57
|
-
return unpackNode(global.generatedEs2panda._LabelledStatementIdent(global.context, this.peer))
|
|
56
|
+
return unpackNode(global.generatedEs2panda._LabelledStatementIdent(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER)
|
|
58
57
|
}
|
|
59
58
|
get referencedStatement(): AstNode | undefined {
|
|
60
59
|
return unpackNode(global.generatedEs2panda._LabelledStatementGetReferencedStatementConst(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,
|
|
@@ -90,13 +89,13 @@ export class MethodDefinition extends ClassElement {
|
|
|
90
89
|
return this
|
|
91
90
|
}
|
|
92
91
|
get overloads(): readonly MethodDefinition[] {
|
|
93
|
-
return unpackNodeArray(global.generatedEs2panda._MethodDefinitionOverloadsConst(global.context, this.peer))
|
|
92
|
+
return unpackNodeArray(global.generatedEs2panda._MethodDefinitionOverloadsConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_METHOD_DEFINITION)
|
|
94
93
|
}
|
|
95
94
|
get baseOverloadMethod(): MethodDefinition | undefined {
|
|
96
|
-
return unpackNode(global.generatedEs2panda._MethodDefinitionBaseOverloadMethod(global.context, this.peer))
|
|
95
|
+
return unpackNode(global.generatedEs2panda._MethodDefinitionBaseOverloadMethod(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_METHOD_DEFINITION)
|
|
97
96
|
}
|
|
98
97
|
get asyncPairMethod(): MethodDefinition | undefined {
|
|
99
|
-
return unpackNode(global.generatedEs2panda._MethodDefinitionAsyncPairMethod(global.context, this.peer))
|
|
98
|
+
return unpackNode(global.generatedEs2panda._MethodDefinitionAsyncPairMethod(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_METHOD_DEFINITION)
|
|
100
99
|
}
|
|
101
100
|
/** @deprecated */
|
|
102
101
|
setOverloads(overloads: readonly MethodDefinition[]): this {
|
|
@@ -118,8 +117,8 @@ export class MethodDefinition extends ClassElement {
|
|
|
118
117
|
global.generatedEs2panda._MethodDefinitionSetAsyncPairMethod(global.context, this.peer, passNode(asyncPairMethod))
|
|
119
118
|
return this
|
|
120
119
|
}
|
|
121
|
-
get function(): ScriptFunction
|
|
122
|
-
return
|
|
120
|
+
get function(): ScriptFunction {
|
|
121
|
+
return unpackNonNullableNode(global.generatedEs2panda._MethodDefinitionFunction(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_SCRIPT_FUNCTION)
|
|
123
122
|
}
|
|
124
123
|
/** @deprecated */
|
|
125
124
|
initializeOverloadInfo(): this {
|
|
@@ -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,10 +51,10 @@ export class NamedType extends TypeNode {
|
|
|
52
51
|
return result
|
|
53
52
|
}
|
|
54
53
|
get name(): Identifier | undefined {
|
|
55
|
-
return unpackNode(global.generatedEs2panda._NamedTypeNameConst(global.context, this.peer))
|
|
54
|
+
return unpackNode(global.generatedEs2panda._NamedTypeNameConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER)
|
|
56
55
|
}
|
|
57
56
|
get typeParams(): TSTypeParameterInstantiation | undefined {
|
|
58
|
-
return unpackNode(global.generatedEs2panda._NamedTypeTypeParamsConst(global.context, this.peer))
|
|
57
|
+
return unpackNode(global.generatedEs2panda._NamedTypeTypeParamsConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_INSTANTIATION)
|
|
59
58
|
}
|
|
60
59
|
get isNullable(): boolean {
|
|
61
60
|
return global.generatedEs2panda._NamedTypeIsNullableConst(global.context, this.peer)
|