Skip to main content

parse_binary_op

Function parse_binary_op 

Source
fn parse_binary_op(
    ctx: &AssistContext<'_, '_>,
) -> Option<(Expr, ArithOp, bool, Expr)>
Expand description

Extract the operands of an arithmetic expression (e.g. 1 + 2 or 1.checked_add(2))