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

Method transform_up_impl

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

Source from the content-addressed store, hash-verified

258 ) -> Result<Transformed<Self>> {
259 #[cfg_attr(feature = "recursive_protection", recursive::recursive)]
260 fn transform_up_impl<N: TreeNode, F: FnMut(N) -> Result<Transformed<N>>>(
261 node: N,
262 f: &mut F,
263 ) -> Result<Transformed<N>> {
264 node.map_children(|c| transform_up_impl(c, f))?
265 .transform_parent(f)
266 }
267
268 transform_up_impl(self, &mut f)
269 }

Callers

nothing calls this directly

Calls 2

transform_parentMethod · 0.80
map_childrenMethod · 0.45

Tested by

no test coverage detected