public class CallExpr extends Expr
Modifier and Type | Field and Description |
---|---|
protected Expr[] |
_args |
protected boolean |
_isRef |
protected StringValue |
_name |
protected StringValue |
_nsName |
COMPILE_ARG_MAX, NULL_ARGS
Constructor and Description |
---|
CallExpr(Location location,
StringValue name,
java.util.ArrayList<Expr> args) |
CallExpr(Location location,
StringValue name,
Expr[] args) |
Modifier and Type | Method and Description |
---|---|
Expr |
createCopy(ExprFactory factory)
Returns the copy of the value.
|
Value |
eval(Env env)
Evaluates the expression.
|
Value[] |
evalArguments(Env env) |
Value |
evalCopy(Env env)
Evaluates the expression.
|
Value |
evalRef(Env env)
Evaluates the expression.
|
java.lang.String |
getFunctionLocation()
Returns the location if known.
|
StringValue |
getName()
Returns the name.
|
java.lang.String |
toString() |
assign, canRead, createAssign, createAssignFrom, createAssignRef, createCall, createClassConst, createClassConst, createClassField, createClassField, createDeref, createFieldGet, createFieldGet, createIsset, createRef, 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, getLine, getLocation, getLocationLine, isArray, isAssign, isBoolean, isConstant, isDouble, isFalse, isLiteral, isLong, isNumber, isRef, isString, isTrue, isVar, print
protected final StringValue _name
protected final StringValue _nsName
protected final Expr[] _args
protected boolean _isRef
public CallExpr(Location location, StringValue name, java.util.ArrayList<Expr> args)
public CallExpr(Location location, StringValue name, Expr[] args)
public StringValue getName()
public java.lang.String getFunctionLocation()
getFunctionLocation
in class Expr
public Expr createCopy(ExprFactory factory)
createCopy
in class Expr
location
-