pub fn eval_constant_local(expr: &Expression) -> Option<Literal>Expand description
Simplify an expression to a constant using only constants already present at this node.
This is intended for the rewriter: child expressions should have been simplified by the
scheduler before their parent is considered. Use eval_constant when a caller explicitly
wants recursive evaluation of an arbitrary expression.