Class DeepTransformer

java.lang.Object
org.kink_lang.kink.internal.program.itree.DeepTransformer

public final class DeepTransformer extends Object
Transforms an itree traversing the sub itrees in the evaluation order.

Note that body itrees in funs are not traversed.

  • Method Details

    • deepTransform

      public static Itree deepTransform(Itree itree, DeepTransformer.Callback callback)
      Transforms itree 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.