public class NullLiteralNode extends ValueLiteralNode
null
tree
Constructor and Description |
---|
NullLiteralNode(LiteralTree t)
Create a new NullLiteralNode.
|
Modifier and Type | Method and Description |
---|---|
<R,P> R |
accept(NodeVisitor<R,P> visitor,
P p)
Accept method of the visitor pattern.
|
boolean |
equals(@Nullable Object obj) |
Collection<Node> |
getOperands()
|
Void |
getValue()
Returns the value of the literal, null for the null literal.
|
getTree, hashCode, toString
getAssignmentContext, getBlock, getInSource, getTransitiveOperands, getType, getUid, isLValue, nodeCollectionToString, setAssignmentContext, setBlock, setInSource, setLValue, toStringDebug
public NullLiteralNode(LiteralTree t)
t
- the tree for the literal valuepublic Void getValue()
ValueLiteralNode
getValue
in class ValueLiteralNode
public <R,P> R accept(NodeVisitor<R,P> visitor, P p)
Node
public boolean equals(@Nullable Object obj)
equals
in class ValueLiteralNode
public Collection<Node> getOperands()
Node
getOperands
in class ValueLiteralNode
Node
s of this Node