public class LongLiteralNode extends ValueLiteralNode
-3l 0x80808080L
tree| Constructor and Description |
|---|
LongLiteralNode(LiteralTree t)
Create a new LongLiteralNode.
|
| 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()
|
Long |
getValue()
Returns the value of the literal, null for the null literal.
|
getTree, hashCode, toStringgetAssignmentContext, getBlock, getInSource, getTransitiveOperands, getType, getUid, isLValue, nodeCollectionToString, setAssignmentContext, setBlock, setInSource, setLValue, toStringDebugpublic LongLiteralNode(LiteralTree t)
t - the tree for the literal valuepublic Long getValue()
ValueLiteralNodegetValue in class ValueLiteralNodepublic <R,P> R accept(NodeVisitor<R,P> visitor, P p)
Nodepublic boolean equals(@Nullable Object obj)
equals in class ValueLiteralNodepublic Collection<Node> getOperands()
NodegetOperands in class ValueLiteralNodeNodes of this Node