public class StringValue extends AbstractNode<StringValue> implements Value<StringValue>
Constructor and Description |
---|
StringValue(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
StringValue |
deepCopy() |
java.util.List<Node> |
getChildren() |
java.lang.String |
getValue() |
boolean |
isEqualTo(Node o)
Compares just the content and not the children.
|
void |
setValue(java.lang.String value) |
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 getValue()
public void setValue(java.lang.String value)
public java.util.List<Node> getChildren()
getChildren
in interface Node<StringValue>
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isEqualTo(Node o)
Node
isEqualTo
in interface Node<StringValue>
o
- the other node to compare topublic StringValue deepCopy()
deepCopy
in interface Node<StringValue>
deepCopy
in interface Value<StringValue>