@PublicApi public class TreeTransformer<T> extends java.lang.Object
Constructor and Description |
---|
TreeTransformer(NodeAdapter<T> nodeAdapter) |
Modifier and Type | Method and Description |
---|---|
T |
transform(T root,
TraverserVisitor<T> traverserVisitor) |
T |
transform(T root,
TraverserVisitor<T> traverserVisitor,
java.util.Map<java.lang.Class<?>,java.lang.Object> rootVars) |
public TreeTransformer(NodeAdapter<T> nodeAdapter)
public T transform(T root, TraverserVisitor<T> traverserVisitor)
public T transform(T root, TraverserVisitor<T> traverserVisitor, java.util.Map<java.lang.Class<?>,java.lang.Object> rootVars)