blob: 0db948214cf4854d1a3f57617f30937e1d7a000c (
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
27
28
29
30
31
32
33
34
|
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 do a top-down transform on 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;
}
|