public class LiteralExpr extends Expr
COMPILE_ARG_MAX, NULL_ARGS
Constructor and Description |
---|
LiteralExpr(Value value) |
Modifier and Type | Method and Description |
---|---|
Value |
eval(Env env)
Evaluates the expression.
|
Value |
evalConstant()
Evaluates the expression as a constant.
|
QuercusClass |
evalQuercusClass(Env env)
Evaluates as a QuercusClass.
|
protected Value |
getValue() |
boolean |
isBoolean()
Returns true if the expression evaluates to a boolean.
|
boolean |
isDouble()
Returns true for a double value.
|
boolean |
isFalse()
Returns true if a static true value.
|
boolean |
isLiteral()
Returns true for a literal expression.
|
boolean |
isLong()
Returns true for a long value.
|
boolean |
isTrue()
Returns true if a static true value.
|
java.lang.String |
toString() |
assign, canRead, createAssign, createAssignFrom, createAssignRef, createCall, createClassConst, createClassConst, createClassField, createClassField, createCopy, createDeref, createFieldGet, createFieldGet, createIsset, createRef, createUnset, equals, evalArg, evalArgs, evalArray, evalArrayAssign, evalArrayAssignRef, evalArrayAssignRef, evalArrayAssignTail, evalAssignRef, evalAssignRef, evalAssignValue, evalAssignValue, evalBoolean, evalChar, evalConstantPrefix, evalConstantSuffix, evalCopy, evalDirty, evalDouble, evalEmpty, evalIsset, evalIssetValue, evalLong, evalObject, evalPostIncrement, evalPreIncrement, evalRef, evalString, evalStringValue, evalTop, evalUnsetArray, evalValue, evalVar, getFileName, getFunctionLocation, getLine, getLocation, getLocationLine, isArray, isAssign, isConstant, isNumber, isRef, isString, isVar, print
public LiteralExpr(Value value)
protected Value getValue()
public boolean isLiteral()
public boolean isFalse()
public boolean isDouble()
public boolean isBoolean()
Expr
public Value evalConstant()
evalConstant
in class Expr
public QuercusClass evalQuercusClass(Env env)
Expr
evalQuercusClass
in class Expr