
public class JFloatLiteral extends JValueLiteral
| Modifier and Type | Field and Description |
|---|---|
static JFloatLiteral |
ZERO |
| Constructor and Description |
|---|
JFloatLiteral(SourceInfo sourceInfo,
double value) |
| Modifier and Type | Method and Description |
|---|---|
static JFloatLiteral |
get(double value) |
JType |
getType()
Returns the type of this expression.
|
double |
getValue() |
Object |
getValueObj() |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
hasSideEffectsmakeReturnStatement, makeStatementgetSourceInfo, setSourceInfo, toSource, toStringpublic static final JFloatLiteral ZERO
public JFloatLiteral(SourceInfo sourceInfo, double value)
public static JFloatLiteral get(double value)
public JType getType()
HasTypepublic double getValue()
public Object getValueObj()
getValueObj in class JValueLiteralCopyright © 2018. All rights reserved.