Skip to main content

analyze_file

Function analyze_file 

Source
pub fn analyze_file(
    path: &Path,
    options: &AnalyzeOptions,
) -> Result<AnalyzeReport, ApiError>
Expand description

Analyses the specification rooted at path: module resolution, name resolution, arity and level checking, as SANY’s -error-codes run.

§Errors

crate::ApiError if the root file cannot be read.