| 372 | } |
| 373 | |
| 374 | insert_stmt::insert_stmt(prod *p, struct scope *s, table *v) |
| 375 | : modifying_stmt(p, s, v) |
| 376 | { |
| 377 | match(); |
| 378 | |
| 379 | for (auto col : victim->columns()) { |
| 380 | auto expr = value_expr::factory(this, col.type); |
| 381 | assert(expr->type == col.type); |
| 382 | value_exprs.push_back(expr); |
| 383 | } |
| 384 | } |
| 385 | |
| 386 | void insert_stmt::out(std::ostream &out) |
| 387 | { |
nothing calls this directly
no outgoing calls
no test coverage detected