public interface Node<T extends Node>
Modifier and Type | Method and Description |
---|---|
T |
deepCopy() |
java.util.List<Node> |
getChildren() |
java.util.List<Comment> |
getComments()
Nodes can have comments made on them, the following is one comment per line before a node.
|
SourceLocation |
getSourceLocation() |
boolean |
isEqualTo(Node node)
Compares just the content and not the children.
|
java.util.List<Node> getChildren()
SourceLocation getSourceLocation()
java.util.List<Comment> getComments()
boolean isEqualTo(Node node)
node
- the other node to compare toT deepCopy()