Home
last modified time | relevance | path

Searched refs:TypeParams (Results 1 - 25 of 57) sorted by relevance

123

/arkcompiler/ets_frontend/ets2panda/ir/ts/
H A DtsFunctionType.h58 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 DtsConstructorType.h60 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 DtsInterfaceDeclaration.h123 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 DtsFunctionType.cpp41 {"typeParameters", AstDumper::Optional(signature_.TypeParams())}, in Dump()
H A DtsTypeReference.h35 const TSTypeParameterInstantiation *TypeParams() const in TypeParams() function in ark::es2panda::ark::es2panda::ir::TSTypeReference
H A DtsConstructorType.cpp40 {"typeParameters", AstDumper::Optional(signature_.TypeParams())}, in Dump()
/arkcompiler/ets_frontend/ets2panda/ir/ets/
H A DetsFunctionType.cpp40 {"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 DetsFunctionType.h57 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 DscriptFunction.cpp43 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 DtsMethodSignature.h81 [[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 DtsSignatureDeclaration.h68 [[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 DscriptFunctionSignature.h45 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 DscriptFunction.h101 [[nodiscard]] const TSTypeParameterDeclaration *TypeParams() const noexcept
103 return irSignature_.TypeParams();
106 [[nodiscard]] TSTypeParameterDeclaration *TypeParams() noexcept
108 return irSignature_.TypeParams();
H A DtsSignatureDeclaration.cpp42 {"typeParameters", AstDumper::Optional(TypeParams())}, in Dump()
H A DtsMethodSignature.cpp47 {"typeParameters", AstDumper::Optional(TypeParams())}, in Dump()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DstructLowering.cpp41 if (etsStrucDeclaration->Definition()->TypeParams() != nullptr && in CreateStructTypeReference()
42 !etsStrucDeclaration->Definition()->TypeParams()->Params().empty()) { in CreateStructTypeReference()
46 for (const auto &param : etsStrucDeclaration->Definition()->TypeParams()->Params()) { in CreateStructTypeReference()
H A DdefaultParameterLowering.cpp71 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 &param : method->Function()->TypeParams()->Params()) { in CreateTypeParameterInstantiation()
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
H A DcallExpression.h79 [[nodiscard]] const TSTypeParameterInstantiation *TypeParams() const noexcept
84 [[nodiscard]] TSTypeParameterInstantiation *TypeParams() noexcept
/arkcompiler/ets_frontend/es2panda/ir/base/
H A DscriptFunction.h88 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 DscopesInitPhase.cpp107 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 DETSBinder.cpp89 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 DnamedType.h34 const TSTypeParameterInstantiation *TypeParams() const in TypeParams() function in ark::es2panda::ir::NamedType
/arkcompiler/ets_frontend/es2panda/ir/ts/
H A DtsImportType.h51 const TSTypeParameterInstantiation *TypeParams() const in TypeParams() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TSImportType
H A DtsTypeAliasDeclaration.h56 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 DtaggedTemplateExpression.h53 const TSTypeParameterInstantiation *TypeParams() const in TypeParams() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TaggedTemplateExpression

Completed in 11 milliseconds

123