Skip to main content

parse_expression

Function parse_expression 

Source
pub fn parse_expression(input: &str) -> Result<Expr>
Expand description

Parses a single expression from text

ยงErrors

Returns AlgorithmError::NestingTooDeep when input nests more deeply than crate::MAX_EXPRESSION_DEPTH. See parse_program for why the check has to happen before the generated parser runs.