| 83 | }; |
| 84 | |
| 85 | struct joined_table : table_ref { |
| 86 | virtual void out(std::ostream &out); |
| 87 | joined_table(prod *p); |
| 88 | std::string type; |
| 89 | std::string alias; |
| 90 | virtual std::string ident() { return alias; } |
| 91 | shared_ptr<table_ref> lhs; |
| 92 | shared_ptr<table_ref> rhs; |
| 93 | shared_ptr<join_cond> condition; |
| 94 | virtual ~joined_table() { |
| 95 | } |
| 96 | virtual void accept(prod_visitor *v) { |
| 97 | lhs->accept(v); |
| 98 | rhs->accept(v); |
| 99 | condition->accept(v); |
| 100 | v->visit(this); |
| 101 | } |
| 102 | }; |
| 103 | |
| 104 | struct from_clause : prod { |
| 105 | std::vector<shared_ptr<table_ref> > reflist; |
nothing calls this directly
no outgoing calls
no test coverage detected