Function ide_db::active_parameter::callable_for_token
source ยท 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.