summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/funcdata/TopDownTransformResult.java
blob: f48a90aacfc61e7553c12d5c70747c3b61f71061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package bjc.utils.funcdata;

/**
 * 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 it's children
	 */
	SKIP,
	/**
	 * Transform this node, and don't touch its children
	 */
	TRANSFORM,
	/**
	 * Ignore this node, and traverse its children
	 */
	PASSTHROUGH,
	/**
	 * Traverse this nodes children, then transform it
	 */
	PUSHDOWN;
}