public abstract class AbstractNode extends java.lang.Object implements Node
Constructor and Description |
---|
AbstractNode() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Comment> |
getComments()
Nodes can have comments made on them, the following is one comment per line before a node.
|
SourceLocation |
getSourceLocation() |
void |
setComments(java.util.List<Comment> comments) |
void |
setSourceLocation(SourceLocation sourceLocation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren, isEqualTo
public void setSourceLocation(SourceLocation sourceLocation)
public SourceLocation getSourceLocation()
getSourceLocation
in interface Node
public java.util.List<Comment> getComments()
Node
getComments
in interface Node
public void setComments(java.util.List<Comment> comments)