Skip to main content

parse

Function parse 

Source
pub fn parse(input: &str) -> CalResult<CalQuery>
Expand description

Parse a CAL query string into a typed AST.

Applies the full pipeline: length check → bidi check → NFC normalization → lexing → recursive-descent parsing → limit validation.

§Errors

Any CalError variant. Error messages include source spans and, where possible, a suggestion.