Skip to main content

analyze

Function analyze 

Source
pub fn analyze(source: &str) -> AnalysisResult
Expand description

Analyzes a .nautilus schema source string end-to-end.

Runs the full pipeline (lex -> parse -> validate) and collects all diagnostics, not just the first one. The returned AnalysisResult contains the best-effort AST, the validated IR (when error-free), and the complete list of diagnostics.