public class FloatLiteralNode extends ValueLiteralNode
8.0f 6.022137e+23F
tree| Constructor and Description |
|---|
FloatLiteralNode(LiteralTree t)
Create a new FloatLiteralNode.
|
| 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()
|
Float |
getValue()
Returns the value of the literal, null for the null literal.
|
getTree, hashCode, toStringgetBlock, getInSource, getTransitiveOperands, getType, getUid, isLValue, nodeCollectionToString, setBlock, setInSource, setLValue, toStringDebugpublic FloatLiteralNode(LiteralTree t)
t - the tree for the literal valuepublic Float 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