| 137 | }; |
| 138 | |
| 139 | struct bool_term : bool_binop { |
| 140 | virtual ~bool_term() { } |
| 141 | const char *op; |
| 142 | virtual void out(std::ostream &out) { |
| 143 | out << "(" << *lhs << ") "; |
| 144 | indent(out); |
| 145 | out << op << " (" << *rhs << ")"; |
| 146 | } |
| 147 | bool_term(prod *p) : bool_binop(p) |
| 148 | { |
| 149 | op = ((d6()<4) ? "or" : "and"); |
| 150 | lhs = bool_expr::factory(this); |
| 151 | rhs = bool_expr::factory(this); |
| 152 | } |
| 153 | }; |
| 154 | |
| 155 | struct distinct_pred : bool_binop { |
| 156 | distinct_pred(prod *p); |
nothing calls this directly
no outgoing calls
no test coverage detected