| 9 | namespace function { |
| 10 | |
| 11 | struct RewriteFunctionBindInput { |
| 12 | main::ClientContext* context; |
| 13 | binder::ExpressionBinder* expressionBinder; |
| 14 | binder::expression_vector arguments; |
| 15 | |
| 16 | RewriteFunctionBindInput(main::ClientContext* context, |
| 17 | binder::ExpressionBinder* expressionBinder, binder::expression_vector arguments) |
| 18 | : context{context}, expressionBinder{expressionBinder}, arguments{std::move(arguments)} {} |
| 19 | }; |
| 20 | |
| 21 | // Rewrite function to a different expression, e.g. id(n) -> n._id. |
| 22 | using rewrite_func_rewrite_t = |
no outgoing calls
no test coverage detected