Skip to main content

analyze

Function analyze 

Source
pub fn analyze(
    path: &str,
    nodes: &[Node],
    parse_errors: Vec<String>,
) -> FileReport
Expand description

Score a module’s worth of IR (nodes is module-level code) into a FileReport labelled path. parse_errors is carried through verbatim for the adapter’s convenience.