def _rewrite_exprs(self, table, what):
    what = util.promote_list(what)
    all_exprs = []
    for expr in what:
        if isinstance(expr, ir.ExprList):
            all_exprs.extend(expr.exprs())
        else:
            bound_expr = ir.bind_expr(table, expr)
            all_exprs.append(bound_expr)
    return all_exprs
def _rewrite_exprs(self, table, what):
    what = util.promote_list(what)
    all_exprs = []
    for expr in what:
        if isinstance(expr, ir.ExprList):
            all_exprs.extend(expr.exprs())
        else:
            bound_expr = ir.bind_expr(table, expr)
            all_exprs.append(bound_expr)
    return all_exprs