|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.quercus.expr.Expr
com.caucho.quercus.expr.CallVarExpr
public class CallVarExpr
A "$foo(...)" function call.
| Field Summary | |
|---|---|
protected Expr[] |
_args
|
protected Expr |
_name
|
| Fields inherited from class com.caucho.quercus.expr.Expr |
|---|
COMPILE_ARG_MAX |
| Constructor Summary | |
|---|---|
CallVarExpr(Expr name,
java.util.ArrayList<Expr> args)
|
|
CallVarExpr(Expr name,
Expr[] args)
|
|
CallVarExpr(Location location,
Expr name,
java.util.ArrayList<Expr> args)
|
|
CallVarExpr(Location location,
Expr name,
Expr[] args)
|
|
| Method Summary | |
|---|---|
Expr |
createCopy(ExprFactory factory)
Returns the copy of the value. |
Expr |
createRef(QuercusParser parser)
Returns the reference of the value. |
Value |
eval(Env env)
Evaluates the expression, returning a Value, never a Var. |
Value |
evalCopy(Env env)
Evaluates the expression as a copy. |
Value |
evalImpl(Env env,
boolean isRef,
boolean isCopy)
Evaluates the expression. |
Value |
evalRef(Env env)
Evaluates the expression, returning a Var for variables, and a Value for values. |
java.lang.String |
toString()
|
| 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, evalAssignRef, evalAssignValue, evalBoolean, evalChar, evalConstant, evalConstantPrefix, evalConstantSuffix, evalDirty, evalDouble, evalIsset, evalLong, evalObject, evalPostIncrement, evalPreIncrement, 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 |
| Field Detail |
|---|
protected final Expr _name
protected final Expr[] _args
| Constructor Detail |
|---|
public CallVarExpr(Location location,
Expr name,
java.util.ArrayList<Expr> args)
public CallVarExpr(Location location,
Expr name,
Expr[] args)
public CallVarExpr(Expr name,
java.util.ArrayList<Expr> args)
public CallVarExpr(Expr name,
Expr[] args)
| Method Detail |
|---|
public Expr createRef(QuercusParser parser)
createRef in class Exprlocation - public Expr createCopy(ExprFactory factory)
createCopy in class Exprlocation - public Value eval(Env env)
Expr
eval in class Exprenv - the calling environment.
public Value evalRef(Env env)
Expr
evalRef in class Exprenv - the calling environment.
public Value evalCopy(Env env)
Expr
evalCopy in class Exprenv - the calling environment.
public Value evalImpl(Env env,
boolean isRef,
boolean isCopy)
env - the calling environment.
public java.lang.String toString()
toString in class Expr
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||