com.caucho.quercus.expr
Class AbstractMethodExpr
java.lang.Object
com.caucho.quercus.expr.Expr
com.caucho.quercus.expr.AbstractMethodExpr
- Direct Known Subclasses:
- ClassMethodExpr, ClassMethodVarExpr, ObjectMethodExpr
public abstract class AbstractMethodExpr
- extends Expr
Represents a PHP function expression.
| Methods inherited from class com.caucho.quercus.expr.Expr |
assign, canRead, createAssign, createAssignFrom, createAssignRef, createCall, createClassConst, createClassField, createClassField, createCopy, createDeref, createFieldGet, createFieldGet, createIsset, createRef, createUnset, eval, evalArgs, evalArray, evalArrayAssign, evalAssignRef, evalAssignValue, evalBoolean, evalChar, evalConstant, evalConstantPrefix, evalConstantSuffix, evalDirty, evalDouble, evalIsset, evalLong, evalObject, evalPostIncrement, evalPreIncrement, evalRef, evalString, evalStringValue, evalTop, evalUnsetArray, evalValue, evalVar, getFileName, getFunctionLocation, getLine, getLocation, getLocationLine, isArray, isAssign, isBoolean, isConstant, isDouble, isFalse, isLiteral, isLong, isNumber, isRef, isString, isTrue, isVar, print, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractMethodExpr
protected AbstractMethodExpr(Location location)
evalCopy
public Value evalCopy(Env env)
- Evaluates the expression as a copy
- Overrides:
evalCopy in class Expr
- Parameters:
env - the calling environment.
- Returns:
- the expression value.
evalArg
public Value evalArg(Env env,
boolean isTop)
- Evaluates the expression as a copy
- Overrides:
evalArg in class Expr
- Parameters:
env - the calling environment.
- Returns:
- the expression value.
eval
protected Value eval(Env env,
Value qThis,
StringValue methodName,
int hashCode,
Expr[] argExprs)
- Evaluates the expression.
- Parameters:
env - the calling environment.
- Returns:
- the expression value.