split_binop_operands

Function split_binop_operands 

Source
fn split_binop_operands(expr: &str) -> Option<Vec<&str>>
Expand description

Split an expression on top-level binary ops + - * / and return the operands. Returns None if no top-level op found (i.e. the expression is a single term).