parse_relational

Function parse_relational 

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

Parse a relational expression.

Grammar: relational := additive (relational_op additive)?, where relational_op := '<' | '>' | '<=' | '>='.

Accepts optional whitespace around operators. Returns remaining input and the parsed Relational node.