(
self,
rewriter: &mut R,
)
| 696 | /// ...)`. |
| 697 | #[cfg_attr(feature = "recursive_protection", recursive::recursive)] |
| 698 | pub fn rewrite_with_subqueries<R: TreeNodeRewriter<Node = Self>>( |
| 699 | self, |
| 700 | rewriter: &mut R, |
| 701 | ) -> Result<Transformed<Self>> { |
| 702 | handle_transform_recursion!( |
| 703 | rewriter.f_down(self), |
| 704 | |c| c.rewrite_with_subqueries(rewriter), |
| 705 | |n| rewriter.f_up(n) |
| 706 | ) |
| 707 | } |
| 708 | |
| 709 | /// Similarly to [`Self::apply`], calls `f` on this node and all its inputs, |
| 710 | /// including subqueries that may appear in expressions such as `IN (SELECT |
no outgoing calls