public class ClosureExpr extends Expr
Modifier and Type | Field and Description |
---|---|
protected Function |
_fun |
protected boolean |
_isInClassScope |
protected java.util.ArrayList<VarExpr> |
_useArgs |
COMPILE_ARG_MAX, NULL_ARGS
Constructor and Description |
---|
ClosureExpr(Location location,
Function fun,
java.util.ArrayList<VarExpr> useArgs,
boolean isInClassScope) |
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.
|
Value |
evalCopy(Env env)
Evaluates the expression.
|
Function |
getFunction()
Returns the function
|
java.lang.String |
getFunctionLocation()
Returns the location if known.
|
java.lang.String |
getName()
Returns the name.
|
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, evalRef, 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 Function _fun
protected final boolean _isInClassScope
protected final java.util.ArrayList<VarExpr> _useArgs
public java.lang.String getName()
public Function getFunction()
public java.lang.String getFunctionLocation()
getFunctionLocation
in class Expr
public Expr createRef(QuercusParser parser)
public Expr createCopy(ExprFactory factory)
createCopy
in class Expr
location
-