pub fn callable_for_token(
sema: &Semantics<'_, RootDatabase>,
token: SyntaxToken,
) -> Option<(Callable, Option<usize>)>
Expand description
Returns a hir::Callable
this token is a part of and its argument index of said callable.
pub fn callable_for_token(
sema: &Semantics<'_, RootDatabase>,
token: SyntaxToken,
) -> Option<(Callable, Option<usize>)>
Returns a hir::Callable
this token is a part of and its argument index of said callable.