|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.prorefactor.core.TreeUtils
public class TreeUtils
Utilities for working with a JPNode syntax tree.
| Constructor Summary | |
|---|---|
TreeUtils()
|
|
| Method Summary | |
|---|---|
static java.util.ArrayList<JPNode> |
flatList(JPNode top)
Get a flat list of nodes, with operator nodes moved inline. |
static java.lang.String |
fullPreproText(JPNode top)
Get the full, preprocessed text from a node. |
static JPNode[] |
nodeArray(JPNode top)
Get an array of nodes, such that the array index matches the node number. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeUtils()
| Method Detail |
|---|
public static java.util.ArrayList<JPNode> flatList(JPNode top)
public static java.lang.String fullPreproText(JPNode top)
public static JPNode[] nodeArray(JPNode top)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||