Visits the column references in this relation expression. The `depth` argument should indicate the subquery nesting depth of the expression, which will be incremented when entering the RHS of a join or a subquery and presented to the supplied function `f`.
(&self, depth: usize, f: &mut F)
| 2287 | /// which will be incremented when entering the RHS of a join or a subquery and |
| 2288 | /// presented to the supplied function `f`. |
| 2289 | pub fn visit_columns<F>(&self, depth: usize, f: &mut F) |
| 2290 | where |
| 2291 | F: FnMut(usize, &ColumnRef), |
| 2292 | { |
| 2293 | #[allow(deprecated)] |
| 2294 | let _ = self.visit_scalar_expressions(depth, &mut |e: &HirScalarExpr, |
| 2295 | depth: usize| |
| 2296 | -> Result<(), ()> { |
| 2297 | e.visit_columns(depth, f); |
| 2298 | Ok(()) |
| 2299 | }); |
| 2300 | } |
| 2301 | |
| 2302 | #[deprecated = "Redefine this based on the `Visit` and `VisitChildren` methods."] |
| 2303 | /// Like `visit_columns`, but permits mutating the column references. |
no test coverage detected