Skip to main content

parse_expression

Function parse_expression 

Source
pub fn parse_expression(
    input: &str,
    builder: &mut DagBuilder,
) -> Result<DagNodeId, ParseError>
Expand description

Parses a mathematical string expression into the global DAG.

ยงErrors

Returns a ParseError (with line/column Span) on syntax errors, unexpected trailing tokens, or paren-depth overflow.