Skip to main content

FileAnalysis

Type Alias FileAnalysis 

Source
pub type FileAnalysis = SemanticCallGraph;
Expand description

Compatibility name for the per-file graph fragment returned by source adapters. Project backends return the same language-neutral graph shape.

Aliased Type§

pub struct FileAnalysis {
    pub functions: Vec<FunctionInfo>,
    pub facts: Vec<LanguageFact>,
    pub source_files: BTreeSet<PathBuf>,
    pub roots: BTreeSet<SymbolId>,
}

Fields§

§functions: Vec<FunctionInfo>§facts: Vec<LanguageFact>§source_files: BTreeSet<PathBuf>

Source files successfully consumed by the frontend, including files that declare no callable functions.

§roots: BTreeSet<SymbolId>

Compiler-provided roots when the backend has authoritative entry information. The common graph infers component roots only when empty.