Skip to main content

call_at

Function call_at 

Source
pub fn call_at(text: &str, caret: usize) -> Option<(&'static FnDef, usize)>
Expand description

Where the caret sits in a call: the innermost unclosed NAME( before byte offset caret in text, and the 0-based argument it is in. Strings and nested parentheses are skipped. Signature help uses it.