| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public TokenStream | getTokenStream()
If the tree associated with this stream was created from a
|
| public TreeAdaptor | |
| public Object | |
| public Object | |
| public void | replaceChildren(Object parent, int startChildIndex, int stopChildIndex, Object t)
Replace children of |
| public void | |
| public void | setUniqueNavigationNodes(boolean uniqueNavigationNodes)
As we flatten the tree, we use |
| public String |
| get | back to summary |
|---|---|
| public Object get(int i) Get a tree node at an absolute index | |
| getTokenStream | back to summary |
|---|---|
| public TokenStream getTokenStream() If the tree associated with this stream was created from a
| |
| getTreeAdaptor | back to summary |
|---|---|
| public TreeAdaptor getTreeAdaptor() What adaptor can tell me how to interpret/navigate nodes and trees. E.g., get text of a node. | |
| getTreeSource | back to summary |
|---|---|
| public Object getTreeSource() Where is this stream pulling nodes from? This is not the name, but the object that provides node objects. | |
| LT | back to summary |
|---|---|
| public Object LT(int k) Get tree node at current input pointer +
This is analogous to | |
| replaceChildren | back to summary |
|---|---|
| public void replaceChildren(Object parent, int startChildIndex, int stopChildIndex, Object t) Replace children of
If | |
| reset | back to summary |
|---|---|
| public void reset() Reset the tree node stream in such a way that it acts like a freshly constructed stream. | |
| setUniqueNavigationNodes | back to summary |
|---|---|
| public void setUniqueNavigationNodes(boolean uniqueNavigationNodes) As we flatten the tree, we use | |
| toString | back to summary |
|---|---|
| public String toString(Object start, Object stop) Return the text of all nodes from | |