|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Node | |
|---|---|
| xtc.tree | |
| Uses of Node in xtc.tree |
|---|
| Subclasses of Node in xtc.tree | |
|---|---|
class |
Annotation
The superclass of all annotations. |
class |
Formatting
An annotation capturing source code formatting. |
class |
GNode
A generic node in an abstract syntax tree. |
class |
Token
A token. |
| Methods in xtc.tree that return Node | |
|---|---|
Node |
Node.add(int index,
java.lang.Object o)
Add the specified object as a child at the specified index. |
Node |
Node.add(java.lang.Object o)
Add the specified object as a child. |
Node |
Node.addAll(java.util.Collection<?> c)
Add all values in the specified collection as children. |
Node |
Node.addAll(int index,
java.util.Collection<?> c)
Add all values in the specified collection as children at the specified index. |
Node |
Node.addAll(int index,
Pair<?> p)
Add all values in the list starting with the specified pair as children at the specified index. |
Node |
Node.addAll(Pair<?> p)
Add all values in the list starting with the specified pair as children. |
Node |
Node.addNode(Node node)
Add the specified node as a child. |
Node |
Annotation.getNode()
Get the annotated node. |
Node |
Node.getNode(int index)
Get the node child at the specified index. |
Node |
Annotation.strip()
|
Node |
Node.strip()
Strip any annotations. |
| Methods in xtc.tree that return types with arguments of type Node | |
|---|---|
static Pair<Node> |
Node.toList(java.lang.Object o)
Convert the specified object to a list of nodes. |
| Methods in xtc.tree with parameters of type Node | |
|---|---|
Node |
Node.addNode(Node node)
Add the specified node as a child. |
static Formatting |
Formatting.after1(Node node,
java.lang.Object after)
Create a formatting annotation. |
static Formatting |
Formatting.before1(java.lang.Object before,
Node node)
Create a formatting annotation. |
static Formatting |
Formatting.round1(java.lang.Object before,
Node node,
java.lang.Object after)
Create a formatting annotation. |
void |
Annotation.setNode(Node node)
Set the annotated node. |
| Constructors in xtc.tree with parameters of type Node | |
|---|---|
Annotation(Node node)
Create a new annotation for the specified node. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||