public class CallVarExpr extends Expr
Modifier and Type | Field and Description |
---|---|
protected Expr[] |
_args |
protected Expr |
_name |
COMPILE_ARG_MAX, NULL_ARGS
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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() |
assign, canRead, createAssign, createAssignFrom, createAssignRef, createCall, createClassConst, createClassConst, createClassField, createClassField, createDeref, createFieldGet, createFieldGet, createIsset, createUnset, equals, evalArg, evalArgs, evalArray, evalArrayAssign, evalArrayAssignRef, evalArrayAssignRef, evalArrayAssignTail, evalAssignRef, evalAssignRef, evalAssignValue, evalAssignValue, evalBoolean, evalChar, evalConstant, evalConstantPrefix, evalConstantSuffix, evalDirty, evalDouble, evalEmpty, evalIsset, evalIssetValue, evalLong, evalObject, evalPostIncrement, evalPreIncrement, evalQuercusClass, 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
public Expr createRef(QuercusParser parser)
public Expr createCopy(ExprFactory factory)
createCopy
in class Expr
location
- public Value eval(Env env)
Expr
public Value evalRef(Env env)
Expr
public Value evalCopy(Env env)
Expr
public Value evalImpl(Env env, boolean isRef, boolean isCopy)
env
- the calling environment.