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