Home
last modified time | relevance | path

Searched refs:clsScope (Results 1 - 2 of 2) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
H A DscopesInitPhase.cpp868 auto *const clsScope = VarBinder()->GetScope()->AsClassScope(); in DeclareClassMethod() local
873 if (clsScope->FindLocal(methodName->Name(), options) != nullptr) { in DeclareClassMethod()
879 targetScope = clsScope->StaticMethodScope(); in DeclareClassMethod()
881 targetScope = clsScope->InstanceMethodScope(); in DeclareClassMethod()
885 MaybeAddOverload(method, methodName, found, clsScope, targetScope); in DeclareClassMethod()
889 varbinder::Variable *found, varbinder::ClassScope *clsScope, in MaybeAddOverload()
899 var->SetScope(clsScope); in MaybeAddOverload()
909 if (methodName->Name().Is(compiler::Signatures::MAIN) && clsScope->Parent()->IsGlobalScope()) { in MaybeAddOverload()
888 MaybeAddOverload(ir::MethodDefinition *method, ir::Identifier *methodName, varbinder::Variable *found, varbinder::ClassScope *clsScope, varbinder::LocalScope *targetScope) MaybeAddOverload() argument
H A DscopesInitPhase.h339 varbinder::ClassScope *clsScope, varbinder::LocalScope *targetScope);

Completed in 4 milliseconds