public class IntegerLiteralNode extends ValueLiteralNode
42
tree| Constructor and Description | 
|---|
| IntegerLiteralNode(LiteralTree t)Create a new IntegerLiteralNode. | 
| 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)Compare the value of this nodes. | 
| Collection<Node> | getOperands() | 
| Integer | getValue()Returns the value of the literal, null for the null literal. | 
getTree, hashCode, toStringgetAssignmentContext, getBlock, getInSource, getTransitiveOperands, getType, isLValue, setAssignmentContext, setBlock, setInSource, setLValuepublic IntegerLiteralNode(LiteralTree t)
t - the tree for the literal valuepublic Integer getValue()
ValueLiteralNodegetValue in class ValueLiteralNodepublic <R,P> R accept(NodeVisitor<R,P> visitor, P p)
Nodepublic boolean equals(@Nullable Object obj)
ValueLiteralNodeequals in class ValueLiteralNodepublic Collection<Node> getOperands()
NodegetOperands in class ValueLiteralNodeNodes of this Node