Skip to main content

parse

Function parse 

Source
pub fn parse(source: &str) -> ParseResult
Expand description

Parses Onlyfile text into a shallow CST with line-level recovery.

Args: source: Raw Onlyfile source text.

Returns: Parse result containing CST root and collected diagnostics.