parse_additive

Function parse_additive 

Source
pub fn parse_additive(input: &str) -> IResult<&str, Additive>
Expand description

Parse an additive expression.

Consumes a leading multiplicative term followed by zero or more + / - multiplicative terms, folded left-associatively into an Additive AST.

Returns the remaining input and the parsed node.