public final class LitDouble extends ExpressionBase implements Literal, ExprDouble
Modifier and Type | Field and Description |
---|---|
static LitDouble |
MINUS_ONE |
static LitDouble |
ONE |
static LitDouble |
ZERO |
MODE_REF, MODE_VALUE
Modifier and Type | Method and Description |
---|---|
org.objectweb.asm.Type |
_writeOut(BytecodeContext bc,
int mode)
write out the stament to the adater
|
Boolean |
getBoolean() |
Boolean |
getBoolean(Boolean defaultValue) |
boolean |
getBooleanValue() |
Double |
getDouble() |
Double |
getDouble(Double defaultValue) |
double |
getDoubleValue() |
String |
getString() |
static LitDouble |
toExprDouble(double d) |
static LitDouble |
toExprDouble(double d,
Position start,
Position end) |
getEnd, getStart, setEnd, setStart, writeOut
public static LitDouble toExprDouble(double d)
public static LitDouble toExprDouble(double d, Position start, Position end)
public double getDoubleValue()
public String getString()
getString
in interface Literal
Literal.getString()
public Boolean getBoolean()
public boolean getBooleanValue()
public org.objectweb.asm.Type _writeOut(BytecodeContext bc, int mode)
ExpressionBase
_writeOut
in class ExpressionBase
lucee.transformer.bytecode.expression.Expression#_writeOut(org.objectweb.asm.commons.GeneratorAdapter, int)
public Double getDouble(Double defaultValue)
getDouble
in interface Literal
Literal.getDouble(java.lang.Double)
public Boolean getBoolean(Boolean defaultValue)
getBoolean
in interface Literal
Literal.getBoolean(java.lang.Boolean)
Copyright © 2015 Lucee