public class VarVarExpr extends AbstractVarExpr
Modifier and Type | Field and Description |
---|---|
protected Expr |
_var |
COMPILE_ARG_MAX, NULL_ARGS
Constructor and Description |
---|
VarVarExpr(Expr var) |
VarVarExpr(Location location,
Expr var) |
Modifier and Type | Method and Description |
---|---|
Value |
eval(Env env)
Evaluates the expression.
|
Value |
evalArg(Env env,
boolean isTop)
Evaluates the expression.
|
Value |
evalArray(Env env)
Evaluates the expression, converting to an array if necessary.
|
Value |
evalAssignRef(Env env,
Value value)
Evaluates the expression.
|
void |
evalUnset(Env env)
Evaluates the expression.
|
Var |
evalVar(Env env)
Evaluates the expression.
|
Expr |
getExpr() |
java.lang.String |
toString() |
assign, createAssign, createAssignRef, createCopy, createRef, createUnset, evalAssignValue, evalCopy, evalObject, evalRef, isVar
canRead, createAssignFrom, createCall, createClassConst, createClassConst, createClassField, createClassField, createDeref, createFieldGet, createFieldGet, createIsset, equals, evalArgs, evalArrayAssign, evalArrayAssignRef, evalArrayAssignRef, evalArrayAssignTail, evalAssignRef, evalAssignValue, evalBoolean, evalChar, evalConstant, evalConstantPrefix, evalConstantSuffix, evalDirty, evalDouble, evalEmpty, evalIsset, evalIssetValue, evalLong, evalPostIncrement, evalPreIncrement, evalQuercusClass, evalString, evalStringValue, evalTop, evalUnsetArray, evalValue, getFileName, getFunctionLocation, getLine, getLocation, getLocationLine, isArray, isAssign, isBoolean, isConstant, isDouble, isFalse, isLiteral, isLong, isNumber, isRef, isString, isTrue, print
protected final Expr _var
public VarVarExpr(Expr var)
public Expr getExpr()
public Value eval(Env env)
eval
in class AbstractVarExpr
env
- the calling environment.public Value evalAssignRef(Env env, Value value)
evalAssignRef
in class AbstractVarExpr
env
- the calling environment.public void evalUnset(Env env)
evalUnset
in class AbstractVarExpr
env
- the calling environment.public Var evalVar(Env env)
evalVar
in class AbstractVarExpr
env
- the calling environment.public Value evalArg(Env env, boolean isTop)
evalArg
in class AbstractVarExpr
env
- the calling environment.public Value evalArray(Env env)
evalArray
in class AbstractVarExpr
env
- the calling environment.