public class StringLiteralNode extends ValueLiteralNode
"abc"
tree
Constructor and Description |
---|
StringLiteralNode(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(Object obj)
Compare the value of this nodes.
|
Collection<Node> |
getOperands() |
String |
getValue() |
String |
toString() |
getTree, hashCode
getAssignmentContext, getBlock, getInSource, getTransitiveOperands, getType, isLValue, setAssignmentContext, setBlock, setInSource, setLValue
public StringLiteralNode(LiteralTree t)
public String getValue()
getValue
in class ValueLiteralNode
public <R,P> R accept(NodeVisitor<R,P> visitor, P p)
Node
public boolean equals(Object obj)
ValueLiteralNode
equals
in class ValueLiteralNode
public Collection<Node> getOperands()
getOperands
in class ValueLiteralNode
Node
s of this Node
.public String toString()
toString
in class ValueLiteralNode