public class ParseTreeNode
extends java.lang.Object
| Constructor and Description |
|---|
ParseTreeNode()
Initializes a new instance of the
ParseTreeNode class. |
ParseTreeNode(Token token)
Initializes a new instance of the
ParseTreeNode class. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ITreeVisitor<ParseTreeNode> visitor) |
java.util.ArrayList<ParseTreeNode> |
getChildren()
Gets the list with all children of this node.
|
boolean |
getEnclosed()
Gets a value indicating whether this node was originally enclosed in braces.
|
Token |
getToken()
Gets the underlying token.
|
void |
setEnclosed(boolean value)
Sets a value indicating whether this node was originally enclosed in braces.
|
public ParseTreeNode()
ParseTreeNode class.public ParseTreeNode(Token token)
ParseTreeNode class.public void accept(ITreeVisitor<ParseTreeNode> visitor)
public java.util.ArrayList<ParseTreeNode> getChildren()
public Token getToken()
public boolean getEnclosed()
public void setEnclosed(boolean value)