/arkcompiler/ets_frontend/ets2panda/ir/ts/ |
H A D | tsFunctionType.h | 58 const TSTypeParameterDeclaration *TypeParams() const in TypeParams() function in ark::es2panda::ark::es2panda::ir::TSFunctionType 60 return signature_.TypeParams(); in TypeParams() 63 TSTypeParameterDeclaration *TypeParams() in TypeParams() function in ark::es2panda::ark::es2panda::ir::TSFunctionType 65 return signature_.TypeParams(); in TypeParams()
|
H A D | tsConstructorType.h | 60 const TSTypeParameterDeclaration *TypeParams() const in TypeParams() function in ark::es2panda::ark::es2panda::ir::TSConstructorType 62 return signature_.TypeParams(); in TypeParams() 64 TSTypeParameterDeclaration *TypeParams() in TypeParams() function in ark::es2panda::ark::es2panda::ir::TSConstructorType 66 return signature_.TypeParams(); in TypeParams()
|
H A D | tsInterfaceDeclaration.h | 123 const TSTypeParameterDeclaration *TypeParams() const in TypeParams() function in ark::es2panda::ark::es2panda::ir::TSInterfaceDeclaration 128 TSTypeParameterDeclaration *TypeParams() in TypeParams() function in ark::es2panda::ark::es2panda::ir::TSInterfaceDeclaration
|
H A D | tsFunctionType.cpp | 41 {"typeParameters", AstDumper::Optional(signature_.TypeParams())}, in Dump()
|
H A D | tsTypeReference.h | 35 const TSTypeParameterInstantiation *TypeParams() const in TypeParams() function in ark::es2panda::ark::es2panda::ir::TSTypeReference
|
H A D | tsConstructorType.cpp | 40 {"typeParameters", AstDumper::Optional(signature_.TypeParams())}, in Dump()
|
/arkcompiler/ets_frontend/ets2panda/ir/ets/ |
H A D | etsFunctionType.cpp | 40 {"typeParameters", AstDumper::Optional(signature_.TypeParams())}, in Dump() 59 if (TypeParams() != nullptr) { in Dump() 60 TypeParams()->Dump(dumper); in Dump() 109 signature_.TypeParams() != nullptr in Clone() 110 ? signature_.TypeParams()->Clone(allocator, nullptr)->AsTSTypeParameterDeclaration() in Clone()
|
H A D | etsFunctionType.h | 57 const TSTypeParameterDeclaration *TypeParams() const in TypeParams() function in ark::es2panda::ark::es2panda::ir::ETSFunctionType 59 return signature_.TypeParams(); in TypeParams() 62 TSTypeParameterDeclaration *TypeParams() in TypeParams() function in ark::es2panda::ark::es2panda::ir::ETSFunctionType 64 return signature_.TypeParams(); in TypeParams()
|
/arkcompiler/ets_frontend/ets2panda/ir/base/ |
H A D | scriptFunction.cpp | 43 if (auto *typeParams = irSignature_.TypeParams(); typeParams != nullptr) { in ScriptFunction() 80 TypeParams() != nullptr ? TypeParams()->Clone(allocator, nullptr)->AsTSTypeParameterDeclaration() in Clone() 137 {"typeParameters", AstDumper::Optional(irSignature_.TypeParams())}, in Dump() 150 if (TypeParams() != nullptr) { in Dump() 152 TypeParams()->Dump(dumper); in Dump()
|
H A D | tsMethodSignature.h | 81 [[nodiscard]] const TSTypeParameterDeclaration *TypeParams() const noexcept 83 return signature_.TypeParams(); 86 [[nodiscard]] TSTypeParameterDeclaration *TypeParams() in TypeParams() function in ark::es2panda::ark::es2panda::ir::TSMethodSignature 88 return signature_.TypeParams(); in TypeParams()
|
H A D | tsSignatureDeclaration.h | 68 [[nodiscard]] const TSTypeParameterDeclaration *TypeParams() const noexcept 70 return signature_.TypeParams(); 73 [[nodiscard]] TSTypeParameterDeclaration *TypeParams() in TypeParams() function in ark::es2panda::ark::es2panda::ir::TSSignatureDeclaration 75 return signature_.TypeParams(); in TypeParams()
|
H A D | scriptFunctionSignature.h | 45 TSTypeParameterDeclaration *TypeParams() in TypeParams() function in ark::es2panda::ir::FunctionSignature 50 const TSTypeParameterDeclaration *TypeParams() const in TypeParams() function in ark::es2panda::ir::FunctionSignature
|
H A D | scriptFunction.h | 101 [[nodiscard]] const TSTypeParameterDeclaration *TypeParams() const noexcept 103 return irSignature_.TypeParams(); 106 [[nodiscard]] TSTypeParameterDeclaration *TypeParams() noexcept 108 return irSignature_.TypeParams();
|
H A D | tsSignatureDeclaration.cpp | 42 {"typeParameters", AstDumper::Optional(TypeParams())}, in Dump()
|
H A D | tsMethodSignature.cpp | 47 {"typeParameters", AstDumper::Optional(TypeParams())}, in Dump()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | structLowering.cpp | 41 if (etsStrucDeclaration->Definition()->TypeParams() != nullptr && in CreateStructTypeReference() 42 !etsStrucDeclaration->Definition()->TypeParams()->Params().empty()) { in CreateStructTypeReference() 46 for (const auto ¶m : etsStrucDeclaration->Definition()->TypeParams()->Params()) { in CreateStructTypeReference()
|
H A D | defaultParameterLowering.cpp | 71 if (method->Function()->TypeParams() == nullptr || method->Function()->TypeParams()->Params().empty()) { in CreateParameterDeclaraion() 77 auto parentParams = method->Function()->TypeParams()->Params(); in CreateParameterDeclaraion() 113 if (method->Function()->TypeParams() == nullptr || method->Function()->TypeParams()->Params().empty()) { in CreateTypeParameterInstantiation() 119 for (const auto ¶m : method->Function()->TypeParams()->Params()) { in CreateTypeParameterInstantiation()
|
/arkcompiler/ets_frontend/ets2panda/ir/expressions/ |
H A D | callExpression.h | 79 [[nodiscard]] const TSTypeParameterInstantiation *TypeParams() const noexcept 84 [[nodiscard]] TSTypeParameterInstantiation *TypeParams() noexcept
|
/arkcompiler/ets_frontend/es2panda/ir/base/ |
H A D | scriptFunction.h | 88 const TSTypeParameterDeclaration *TypeParams() const in TypeParams() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::ScriptFunction 93 TSTypeParameterDeclaration *TypeParams() in TypeParams() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::ScriptFunction
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/ |
H A D | scopesInitPhase.cpp | 107 auto funcParamScope = (function->Scope() == nullptr) ? HandleFunctionSig(function->TypeParams(), function->Params(), in HandleFunction() 517 auto typeParamsCtx = LexicalScopeCreateOrEnter<varbinder::LocalScope>(VarBinder(), typeAliasDecl->TypeParams()); in VisitTSTypeAliasDeclaration() 550 auto typeParamsCtx = LexicalScopeCreateOrEnter<varbinder::LocalScope>(VarBinder(), interfDecl->TypeParams()); in VisitTSInterfaceDeclaration() 551 CallNode(interfDecl->TypeParams()); in VisitTSInterfaceDeclaration() 624 auto typeParamsCtx = LexicalScopeCreateOrEnter<varbinder::LocalScope>(VarBinder(), classDef->TypeParams()); in VisitClassDefinition() 625 CallNode(classDef->TypeParams()); in VisitClassDefinition() 657 ? HandleFunctionSig(constrType->TypeParams(), constrType->Params(), constrType->ReturnType()) in VisitTSFunctionType() 693 ? HandleFunctionSig(constrT->TypeParams(), constrT->Params(), constrT->ReturnType()) in VisitTSConstructorType() 701 LexicalScopeCreateOrEnter<varbinder::LocalScope>(VarBinder(), arrowFExpr->Function()->TypeParams()); in VisitArrowFunctionExpression() 707 auto funcParamScope = (signDecl->Scope() == nullptr) ? HandleFunctionSig(signDecl->TypeParams(), signDec in VisitTSSignatureDeclaration() [all...] |
/arkcompiler/ets_frontend/ets2panda/varbinder/ |
H A D | ETSBinder.cpp | 89 if (iter->TypeParams() == nullptr) { in LookupTypeArgumentReferences() 94 ResolveReferences(iter->TypeParams()); in LookupTypeArgumentReferences() 286 if (decl->TypeParams() != nullptr) { in BuildInterfaceDeclaration() 287 auto typeParamScopeCtx = LexicalScope<LocalScope>::Enter(this, decl->TypeParams()->Scope()); in BuildInterfaceDeclaration() 288 ResolveReferences(decl->TypeParams()); in BuildInterfaceDeclaration() 298 if (methodDef->Function()->TypeParams() != nullptr) { in BuildMethodDefinition() 299 auto scopeCtx = LexicalScope<LocalScope>::Enter(this, methodDef->Function()->TypeParams()->Scope()); in BuildMethodDefinition() 300 ResolveReferences(methodDef->Function()->TypeParams()); in BuildMethodDefinition() 338 if (classDef->TypeParams() != nullptr) { in BuildClassDefinition() 339 auto scopeCtx = LexicalScope<LocalScope>::Enter(this, classDef->TypeParams() in BuildClassDefinition() [all...] |
/arkcompiler/ets_frontend/ets2panda/ir/as/ |
H A D | namedType.h | 34 const TSTypeParameterInstantiation *TypeParams() const in TypeParams() function in ark::es2panda::ir::NamedType
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
H A D | tsImportType.h | 51 const TSTypeParameterInstantiation *TypeParams() const in TypeParams() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TSImportType
|
H A D | tsTypeAliasDeclaration.h | 56 const TSTypeParameterDeclaration *TypeParams() const in TypeParams() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::TSTypeAliasDeclaration
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
H A D | taggedTemplateExpression.h | 53 const TSTypeParameterInstantiation *TypeParams() const in TypeParams() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TaggedTemplateExpression
|