Skip to main content

collect_selectors_with_set_operations

Function collect_selectors_with_set_operations 

Source
fn collect_selectors_with_set_operations<'a>(
    stmt: &EvalStmt,
    expr: &'a Expr,
    under_rate_or_increase: bool,
    out: &mut Vec<(Cow<'a, VectorSelector>, bool)>,
    set_operations: &mut Vec<SetOperation>,
) -> bool
Expand description

[collect_selectors], also recording the set operations it passes.

The operands are recorded as index ranges of out, which is the pre-order the compiler binds its inputs in.