Function sixtyfps_compilerlib::expression_tree::min_max_expression[][src]

pub fn min_max_expression(
    lhs: Expression,
    rhs: Expression,
    op: char
) -> Expression

Generate an expression which is like min(lhs, rhs) if op is ‘<’ or max(lhs, rhs) if op is ‘>’. counter is an unique id. The rhs and lhs of the expression must have the same numerical type