|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Tree | |
---|---|
org.antlr.runtime.tree |
Uses of Tree in org.antlr.runtime.tree |
---|
Classes in org.antlr.runtime.tree that implement Tree | |
---|---|
class |
BaseTree
A generic tree implementation with no payload. |
class |
CommonTree
A tree node that is wrapper for a Token object. |
class |
DoubleLinkTree
A generic doubly-linked tree implementation with no payload. |
class |
ParseTree
A record of the rules used to match a token sequence. |
Fields in org.antlr.runtime.tree declared as Tree | |
---|---|
static Tree |
Tree.INVALID_NODE
|
Methods in org.antlr.runtime.tree that return Tree | |
---|---|
Tree |
Tree.dupNode()
|
Tree |
ParseTree.dupNode()
|
Tree |
CommonTree.dupNode()
|
Tree |
Tree.dupTree()
|
Tree |
BaseTree.dupTree()
Recursively walk this tree, dup'ing nodes until you have copy of this tree. |
Tree |
Tree.getChild(int i)
|
Tree |
BaseTree.getChild(int i)
|
Tree |
BaseTree.getFirstChildWithType(int type)
|
Methods in org.antlr.runtime.tree with parameters of type Tree | |
---|---|
void |
Tree.addChild(Tree t)
Add t as a child to this node. |
void |
BaseTree.addChild(Tree t)
Add t as child of this node. |
org.antlr.stringtemplate.StringTemplate |
DOTTreeGenerator.toDOT(Tree tree)
Generate DOT (graphviz) for a whole tree not just a node. |
Constructors in org.antlr.runtime.tree with parameters of type Tree | |
---|---|
BaseTree(Tree node)
Create a new node from an existing node does nothing for BaseTree as there are no fields other than the children list, which cannot be copied as the children are not considered part of this node. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |