Skip to main content

recognize_stages

Function recognize_stages 

Source
pub fn recognize_stages(
    source: &str,
) -> Result<RecognizedProgram, SpatialReject>
Expand description

Walk a program’s top-level statements into typed specs. Err only when the source does not parse; a statement that parses but is no op the walk knows is reported in unrecognized.