blob: 3907df2dc967b8fff5defb5dd33303c51e09ae03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package bjc.utils.data;
/**
* Represents the results for doing a top-down transform of a tree.
*
* @author ben
*
*/
public enum TopDownTransformResult {
/** Do not do anything to this node, and ignore its children. */
SKIP,
/** Transform this node, and don't touch its children. */
TRANSFORM,
/** Transform this node, then recursively transform the result. */
RTRANSFORM,
/** Ignore this node, and traverse its children. */
PASSTHROUGH,
/** Traverse the nodes of this children, then transform it. */
PUSHDOWN,
/** Transform this node, then traverse its children. */
PULLUP;
}
|