diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2019-07-02 18:05:22 -0400 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2019-07-02 18:05:22 -0400 |
| commit | 843329de434bb334d90927c4d22345373a388530 (patch) | |
| tree | b0ad1f764bd29ff43841e1095a5b58194c20cb37 /src/main/java/bjc/data/TopDownTransformResult.java | |
| parent | ac36f171a3cebb0993cc28548635e3f654f8e325 (diff) | |
Rename package root
The package root is now bjc, not io.github.bculkin2442.
Diffstat (limited to 'src/main/java/bjc/data/TopDownTransformResult.java')
| -rw-r--r-- | src/main/java/bjc/data/TopDownTransformResult.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/main/java/bjc/data/TopDownTransformResult.java b/src/main/java/bjc/data/TopDownTransformResult.java new file mode 100644 index 0000000..0633cec --- /dev/null +++ b/src/main/java/bjc/data/TopDownTransformResult.java @@ -0,0 +1,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; +} |
