MCPcopy Create free account
hub / github.com/anse1/sqlsmith / bool_term

Class bool_term

expr.hh:139–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137};
138
139struct 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
155struct distinct_pred : bool_binop {
156 distinct_pred(prod *p);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected