Expand description
Functions and types for source tree transformations.
Functions§
- apply_
func_ clone - Apply a given transformation function to a list of elements, without mutating the original.
- apply_
func_ drain - Apply a given transformation to every item in a list, consuming this list.
- recurse_
clone - Recursively apply a transformation function
func
to all children of elementroot
, cloning the input. - recurse_
clone_ template - Recursively apply a function
content_func
to the children list of a node, cloning the input. - recurse_
inplace - Recursively apply a transformation function
func
to all children of elementroot
. - recurse_
inplace_ template - Recursively apply a function
content_func
to the children list of a node.
Type Aliases§
- TFunc
- Signature of a cloning transformation function
- TFunc
Inplace - Signature of an in-place transformation function
- TList
Result - Result type for a list of transformed elements.
- TResult
- Transformation result type