pub trait LookupItemEx: HasResolverData {
// Required methods
fn function_with_body(&self) -> Option<FunctionWithBodyId>;
fn resolver_context(
&self,
db: &dyn SemanticGroup,
) -> Maybe<Arc<ResolverData>>;
}
Required Methods§
fn function_with_body(&self) -> Option<FunctionWithBodyId>
sourcefn resolver_context(&self, db: &dyn SemanticGroup) -> Maybe<Arc<ResolverData>>
fn resolver_context(&self, db: &dyn SemanticGroup) -> Maybe<Arc<ResolverData>>
Returns the resolver data of the parent generic item if exist.