public class ThisExpr extends AbstractVarExpr
Modifier and Type | Field and Description |
---|---|
protected InterpretedClassDef |
_classDef |
COMPILE_ARG_MAX, NULL_ARGS
Constructor and Description |
---|
ThisExpr(InterpretedClassDef classDef) |
Modifier and Type | Method and Description |
---|---|
Expr |
createFieldGet(ExprFactory factory,
Location location,
Expr name)
Creates a field ref
|
Expr |
createFieldGet(ExprFactory factory,
Location location,
StringValue name)
Creates a field ref
|
Value |
eval(Env env)
Evaluates the expression.
|
Value |
evalArg(Env env,
boolean isTop)
Evaluates the expression.
|
Value |
evalAssignRef(Env env,
Value value)
Evaluates the expression.
|
Value |
evalAssignValue(Env env,
Value value)
Evaluates the expression.
|
QuercusClass |
evalQuercusClass(Env env)
Evaluates as a QuercusClass.
|
void |
evalUnset(Env env)
Evaluates the expression.
|
Var |
evalVar(Env env)
Evaluates the expression.
|
InterpretedClassDef |
getClassDef() |
java.lang.String |
toString() |
assign, createAssign, createAssignRef, createCopy, createRef, createUnset, evalArray, evalCopy, evalObject, evalRef, isVar
canRead, createAssignFrom, createCall, createClassConst, createClassConst, createClassField, createClassField, createDeref, createIsset, equals, evalArgs, evalArrayAssign, evalArrayAssignRef, evalArrayAssignRef, evalArrayAssignTail, evalAssignRef, evalAssignValue, evalBoolean, evalChar, evalConstant, evalConstantPrefix, evalConstantSuffix, evalDirty, evalDouble, evalEmpty, evalIsset, evalIssetValue, evalLong, evalPostIncrement, evalPreIncrement, 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 InterpretedClassDef _classDef
public ThisExpr(InterpretedClassDef classDef)
public InterpretedClassDef getClassDef()
public Expr createFieldGet(ExprFactory factory, Location location, StringValue name)
createFieldGet
in class Expr
public Expr createFieldGet(ExprFactory factory, Location location, Expr name)
createFieldGet
in class Expr
public Value eval(Env env)
eval
in class AbstractVarExpr
env
- the calling environment.public Value evalArg(Env env, boolean isTop)
evalArg
in class AbstractVarExpr
env
- the calling environment.public Var evalVar(Env env)
evalVar
in class AbstractVarExpr
env
- the calling environment.public Value evalAssignValue(Env env, Value value)
evalAssignValue
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 QuercusClass evalQuercusClass(Env env)
evalQuercusClass
in class Expr