public class ClassFieldVarExpr extends AbstractVarExpr
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_className |
protected Expr |
_varName |
COMPILE_ARG_MAX, NULL_ARGS
Constructor and Description |
---|
ClassFieldVarExpr(java.lang.String className,
Expr varName) |
Modifier and Type | Method and Description |
---|---|
Expr |
createCall(QuercusParser parser,
Location location,
java.util.ArrayList<Expr> args)
Creates a function call expression
|
Value |
eval(Env env)
Evaluates the expression.
|
Value |
evalAssignRef(Env env,
Value value)
Evaluates the expression.
|
void |
evalUnset(Env env)
Evaluates the expression.
|
Var |
evalVar(Env env)
Evaluates the expression.
|
java.lang.String |
toString() |
assign, createAssign, createAssignRef, createCopy, createRef, createUnset, evalArg, evalArray, evalAssignValue, evalCopy, evalObject, evalRef, isVar
canRead, createAssignFrom, 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 java.lang.String _className
protected final Expr _varName
public ClassFieldVarExpr(java.lang.String className, Expr varName)
public Expr createCall(QuercusParser parser, Location location, java.util.ArrayList<Expr> args) throws java.io.IOException
createCall
in class Expr
java.io.IOException
public Value eval(Env env)
eval
in class AbstractVarExpr
env
- the calling environment.public Var evalVar(Env env)
evalVar
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.