public final class LitFloat extends ExpressionBase implements Literal, ExprFloat
MODE_REF, MODE_VALUE
Constructor and Description |
---|
LitFloat(float f,
Position start,
Position end)
constructor of the class
|
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 defaultValue) |
Float |
getFloat() |
float |
getFloatValue() |
String |
getString() |
static ExprFloat |
toExprFloat(float f,
Position start,
Position end) |
getEnd, getStart, setEnd, setStart, writeOut
public static ExprFloat toExprFloat(float f, Position start, Position end)
public float getFloatValue()
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