com.caucho.quercus.expr
Class ClassVarMethodVarExpr
java.lang.Object
com.caucho.quercus.expr.Expr
com.caucho.quercus.expr.ClassVarMethodVarExpr
public class ClassVarMethodVarExpr
- extends Expr
Represents a PHP static method expression ${class}:${foo}(...).
Methods inherited from class com.caucho.quercus.expr.Expr |
assign, canRead, createAssign, createAssignFrom, createAssignRef, createCall, createClassConst, createClassField, createClassField, createDeref, createFieldGet, createFieldGet, createIsset, createUnset, evalArg, evalArgs, evalArray, evalArrayAssign, evalArrayAssignTail, evalAssignRef, evalAssignValue, evalBoolean, evalChar, evalConstant, evalConstantPrefix, evalConstantSuffix, evalCopy, evalDirty, evalDouble, evalIsset, evalIssetValue, evalLong, evalObject, evalPostIncrement, evalPreIncrement, evalQuercusClass, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_className
protected final Expr _className
_methodName
protected final Expr _methodName
_args
protected final Expr[] _args
_fullArgs
protected Expr[] _fullArgs
_fun
protected AbstractFunction _fun
_isMethod
protected boolean _isMethod
ClassVarMethodVarExpr
public ClassVarMethodVarExpr(Location location,
Expr className,
Expr methodName,
java.util.ArrayList<Expr> args)
createRef
public Expr createRef(QuercusParser parser)
- Returns the reference of the value.
- Overrides:
createRef
in class Expr
- Parameters:
location
-
createCopy
public Expr createCopy(ExprFactory factory)
- Returns the copy of the value.
- Overrides:
createCopy
in class Expr
- Parameters:
location
-
eval
public Value eval(Env env)
- Evaluates the expression.
- Specified by:
eval
in class Expr
- Parameters:
env
- the calling environment.
- Returns:
- the expression value.
toString
public java.lang.String toString()
- Overrides:
toString
in class Expr