java.lang.Object
org.kink_lang.kink.internal.program.itree.DeepTransformer
Transforms an itree traversing the sub itrees in the evaluation order.
Note that body itrees in funs are not traversed.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Itree
deepTransform
(Itree itree, DeepTransformer.Callback callback) Transformsitree
traversing the sub itrees in the evaluation order.
-
Method Details
-
deepTransform
Transformsitree
traversing the sub itrees in the evaluation order.Note that body itrees of funs are not traversed.
- Parameters:
itree
- the itree to be transformed.callback
- the callback.- Returns:
- the result of transformation.
-