Function parse_bin_op_recursively

Source
pub fn parse_bin_op_recursively<'a>(
    p: &mut impl Parser<'a>,
    left: Box<Expr>,
    min_prec: u8,
) -> PResult<Box<Expr>>
Expand description

Parse binary operators with the operator precedence parsing algorithm. left is the left-hand side of the operator. minPrec provides context that allows the function to stop and defer further parser to one of its callers when it encounters an operator that has a lower precedence than the set it is parsing.

parseExprOp