pub fn map_expr_to_global(&self, mut expr: MirScalarExpr, index: usize) -> MirScalarExpr {
        expr.visit_mut_post(&mut |e| {
            if let MirScalarExpr::Column(c) = e {
                *c += self.prior_arities[index];
            }
        });
        expr
    }
/// Takes an expression from the local context of the `index`th input and
/// creates a new version where column references have been remapped to the
/// global context.
Takes an expression from the local context of the `index`th input and
creates a new version where column references have been remapped to the
global context.
Takes an expression from the local context of the ` index ` th input and creates a new version where column references have been remapped to the global context .
pub fn map_expr_to_global(&self, mut expr: MirScalarExpr, index: usize) -> MirScalarExpr {
        expr.visit_mut_post(&mut |e| {
            if let MirScalarExpr::Column(c) = e {
                *c += self.prior_arities[index];
            }
        });
        expr
    }
pub fn map_expr_to_global ( & self , mut expr : MirScalarExpr , index : usize ) -> MirScalarExpr { expr . visit_mut_post ( & mut | e | { if let MirScalarExpr :: Column ( c ) = e { * c += self . prior_arities [ index ] ; } } ) ; expr }
Takes an expression from the local context of the `index`th input and
creates a new version where column references have been remapped to the
global context.
Takes an expression from the local context of the ` index ` th input and creates a new version where column references have been remapped to the global context .
&self
expr
MirScalarExpr
index
usize
&self
expr
MirScalarExpr
index
usize