public class FloatLiteralNode extends ValueLiteralNode
8.0f 6.022137e+23F
tree
Constructor and Description |
---|
FloatLiteralNode(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() |
Float |
getValue() |
getTree, hashCode, toString
getAssignmentContext, getBlock, getInSource, getTransitiveOperands, getType, isLValue, setAssignmentContext, setBlock, setInSource, setLValue
public FloatLiteralNode(LiteralTree t)
public Float 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
.