public class VariableReference extends AbstractNode<VariableReference> implements Value<VariableReference>
Constructor and Description |
---|
VariableReference(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
VariableReference |
deepCopy() |
java.util.List<Node> |
getChildren() |
java.lang.String |
getName() |
boolean |
isEqualTo(Node o)
Compares just the content and not the children.
|
void |
setName(java.lang.String name) |
java.lang.String |
toString() |
deepCopy, deepCopy, getComments, getSourceLocation, setComments, setSourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComments, getSourceLocation
public java.lang.String getName()
public void setName(java.lang.String name)
public java.util.List<Node> getChildren()
getChildren
in interface Node<VariableReference>
public boolean isEqualTo(Node o)
Node
isEqualTo
in interface Node<VariableReference>
o
- the other node to compare topublic VariableReference deepCopy()
deepCopy
in interface Node<VariableReference>
deepCopy
in interface Value<VariableReference>
public java.lang.String toString()
toString
in class java.lang.Object