Skip to main content

find_def

Function find_def 

Source
fn find_def(contents: &str, name: &str) -> Option<(usize, usize)>
Expand description

Returns the 1-based line and column of name in the line that defines it (def <name> ...).