public final class LitBoolean extends ExpressionBase implements Literal, ExprBoolean
Modifier and Type | Field and Description |
---|---|
static LitBoolean |
FALSE |
static LitBoolean |
TRUE |
MODE_REF, MODE_VALUE
Constructor and Description |
---|
LitBoolean(boolean b,
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 |
getDouble(Double defaultValue) |
double |
getDoubleValue() |
String |
getString() |
static ExprBoolean |
toExprBoolean(boolean b) |
static ExprBoolean |
toExprBoolean(boolean b,
Position start,
Position end) |
String |
toString() |
getEnd, getStart, setEnd, setStart, writeOut
public static final LitBoolean TRUE
public static final LitBoolean FALSE
public LitBoolean(boolean b, Position start, Position end)
b
- line
- public String toString()
toString
in class Object
Object.toString()
public static ExprBoolean toExprBoolean(boolean b, Position start, Position end)
public static ExprBoolean toExprBoolean(boolean b)
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.ExpressionBase#_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