pub fn visit_children_crossing<'a, C>(
expr: &'a SqlExpression,
ctx: &mut C,
f: impl FnMut(&mut C, &'a SqlExpression),
f_stmt: impl FnMut(&mut C, &'a SelectStatement),
)Expand description
Call f on each direct child expression of expr and f_stmt on each
directly nested subquery statement.
The borrowing counterpart to map_children_crossing, and the primitive
visit_children is built on. As there, the subquery-bearing variants are
listed only here, so a new one is a compile error rather than a silent skip
at every call site, and ctx carries the state the two closures share.