public class StringLiteralNode extends ValueLiteralNode
"abc"
tree
Constructor and Description |
---|
StringLiteralNode(com.sun.source.tree.LiteralTree t) |
Modifier and Type | Method and Description |
---|---|
<R,P> R |
accept(NodeVisitor<R,P> visitor,
P p)
Accept method of the visitor pattern.
|
boolean |
equals(java.lang.Object obj)
Compare the value of this nodes.
|
java.util.Collection<Node> |
getOperands() |
java.lang.String |
getValue() |
java.lang.String |
toString() |
getTree, hashCode
getAssignmentContext, getBlock, getInSource, getTransitiveOperands, getType, isLValue, setAssignmentContext, setBlock, setInSource, setLValue
public java.lang.String getValue()
getValue
in class ValueLiteralNode
public <R,P> R accept(NodeVisitor<R,P> visitor, P p)
Node
public boolean equals(java.lang.Object obj)
ValueLiteralNode
equals
in class ValueLiteralNode
public java.util.Collection<Node> getOperands()
getOperands
in class ValueLiteralNode
Node
s of this Node
.public java.lang.String toString()
toString
in class ValueLiteralNode