pub fn run_analysis(
input: &Path,
verbose: bool,
load_stdlib: bool,
stdlib_path: Option<&Path>,
) -> Result<AnalysisResult, String>Expand description
Run analysis on input file or directory.
§Arguments
input- Path to a file or directory to analyzeverbose- Enable verbose outputload_stdlib- Whether to load the standard librarystdlib_path- Optional custom path to the standard library
§Returns
An AnalysisResult with file count, symbol count, and diagnostics.