pub trait AstModuleFindCallName {
    // Required method
    fn find_function_call_with_name(&self, name: &str) -> Option<Span>;
}
Expand description

Find the location of a top level function call that has a kwarg “name”, and a string value matching name.

Required Methods§

source

fn find_function_call_with_name(&self, name: &str) -> Option<Span>

Find the location of a top level function call that has a kwarg “name”, and a string value matching name.

NOTE: If the AST is exposed in the future, this function may be removed and implemented by specific programs instead.

Implementors§