public abstract class ParseNode
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
ParseNode(java.lang.String value,
java.util.List<ParseNode> children) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ParseNode> |
getChildren()
Get the children of this
ParseNode |
java.lang.String |
getValue()
Get the value held by this
ParseNode. |
boolean |
hasChildren()
Returns whether or not this
ParseNode has children. |
protected ParseNode(java.lang.String value,
java.util.List<ParseNode> children)
public java.lang.String getValue()
ParseNode.public boolean hasChildren()
ParseNode has children.public java.util.List<ParseNode> getChildren()
ParseNodeTree, returns empty list if no children are found.