summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/data/TopDownTransformResult.java
blob: 0633cec548fdb1dbb821a36fcd290827656e89b3 (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.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;
}