Skip to main content

find_containing_function

Function find_containing_function 

Source
pub fn find_containing_function<'a>(
    module: &'a Module,
    target: &NodeId,
) -> Option<&'a FuncDef>
Expand description

Find which function contains a node with the given ID.