MCPcopy Create free account
hub / github.com/apache/datafusion / transform_down_impl

Method transform_down_impl

datafusion/common/src/tree_node.rs:236–241  ·  view source on GitHub ↗
(
            node: N,
            f: &mut F,
        )

Source from the content-addressed store, hash-verified

234 ) -> Result<Transformed<Self>> {
235 #[cfg_attr(feature = "recursive_protection", recursive::recursive)]
236 fn transform_down_impl<N: TreeNode, F: FnMut(N) -> Result<Transformed<N>>>(
237 node: N,
238 f: &mut F,
239 ) -> Result<Transformed<N>> {
240 f(node)?.transform_children(|n| n.map_children(|c| transform_down_impl(c, f)))
241 }
242
243 transform_down_impl(self, &mut f)
244 }

Callers

nothing calls this directly

Calls 2

transform_childrenMethod · 0.80
map_childrenMethod · 0.45

Tested by

no test coverage detected