
public class JFloatLiteral extends JValueLiteral
| Modifier and Type | Field and Description |
|---|---|
static JFloatLiteral |
ZERO |
| Constructor and Description |
|---|
JFloatLiteral(SourceInfo sourceInfo,
float value) |
| Modifier and Type | Method and Description |
|---|---|
JValueLiteral |
cloneFrom(JValueLiteral value) |
static JFloatLiteral |
get(float value) |
JType |
getType()
Returns the type of this expression.
|
float |
getValue() |
Object |
getValueObj() |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
hasSideEffectsmakeStatementgetSourceInfo, setSourceInfo, toSource, toStringpublic static final JFloatLiteral ZERO
public JFloatLiteral(SourceInfo sourceInfo, float value)
public static JFloatLiteral get(float value)
public JValueLiteral cloneFrom(JValueLiteral value)
cloneFrom in class JValueLiteralpublic JType getType()
HasTypepublic float getValue()
public Object getValueObj()
getValueObj in class JValueLiteralpublic void traverse(JVisitor visitor, Context ctx)
JVisitablevisitor - the visitor that should traverse this nodectx - the context of an existing traversalCopyright © 2018. All rights reserved.