Skip to main content

analyze_source

Function analyze_source 

Source
pub fn analyze_source(
    source: &str,
    compat: CompatMode,
    lowering_context: &LoweringContext<'_>,
) -> FrontendAnalysis
Expand description

Run the canonical source-local frontend. Project and host resolution inputs are supplied through LoweringContext; CLI, LSP, and runtime adapters are responsible for constructing that context from the same source catalog.