def VisitBoolOr(self, o, **kwargs): new = ast.BoolOr( lhs=o.lhs, rhs=o.rhs, ) return copy_std( o, new, )
def p_bool_term2(p): """bool_term : bool_term OR bool_term""" p[0] = ast.BoolOr(lhs=p[1], rhs=p[3])
def p_bool_term2(p): """bool_expr : bool_expr OR bool_expr""" p[0] = ast.BoolOr(lhs=p[1], rhs=p[3])