
public class JDoubleLiteral extends JValueLiteral
| Modifier and Type | Field and Description |
|---|---|
static JDoubleLiteral |
ZERO |
| Constructor and Description |
|---|
JDoubleLiteral(SourceInfo sourceInfo,
double value) |
| Modifier and Type | Method and Description |
|---|---|
static JDoubleLiteral |
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.
|
hasSideEffectsmakeStatementgetSourceInfo, setSourceInfo, toSource, toStringpublic static final JDoubleLiteral ZERO
public JDoubleLiteral(SourceInfo sourceInfo, double value)
public static JDoubleLiteral get(double value)
public JType getType()
HasTypepublic double 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.