|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.quercus.env.Value
com.caucho.quercus.env.Callback
com.caucho.quercus.function.AbstractFunction
com.caucho.quercus.function.CompiledFunctionRef
com.caucho.quercus.function.CompiledFunctionRef_2
public abstract class CompiledFunctionRef_2
Represents a compiled function with 2 args
Field Summary |
---|
Fields inherited from class com.caucho.quercus.function.AbstractFunction |
---|
_bindingClass, _declaringClassName, _isClosure, _isConstructor, _isFinal, _isStatic, _parseIndex, _visibility |
Fields inherited from class com.caucho.quercus.env.Value |
---|
NULL_VALUE_ARRAY |
Constructor Summary | |
---|---|
CompiledFunctionRef_2(java.lang.String name,
Expr default_0,
Expr default_1)
|
Method Summary | |
---|---|
Expr[] |
bindArguments(Env env,
Expr fun,
Expr[] args)
Binds the user's arguments to the actual arguments. |
Value |
callRef(Env env)
Evaluates the function. |
Value |
callRef(Env env,
Value a1)
Evaluates the function with an argument . |
Value |
callRef(Env env,
Value[] argValues)
Evaluates the function, returning a reference. |
abstract Value |
callRef(Env env,
Value a1,
Value a2)
Evaluates the function with arguments |
java.lang.String |
getName()
Returns this function's name. |
java.lang.String |
toString()
|
Methods inherited from class com.caucho.quercus.function.CompiledFunctionRef |
---|
call, call, call, call, call, call, call |
Methods inherited from class com.caucho.quercus.env.Callback |
---|
callArray, callArray, callArray, toCallable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CompiledFunctionRef_2(java.lang.String name, Expr default_0, Expr default_1)
Method Detail |
---|
public java.lang.String getName()
getName
in class CompiledFunctionRef
public Expr[] bindArguments(Env env, Expr fun, Expr[] args)
args
- the user's arguments
public Value callRef(Env env, Value[] argValues)
AbstractFunction
callRef
in class AbstractFunction
public Value callRef(Env env)
AbstractFunction
callRef
in class AbstractFunction
public Value callRef(Env env, Value a1)
AbstractFunction
callRef
in class AbstractFunction
public abstract Value callRef(Env env, Value a1, Value a2)
AbstractFunction
callRef
in class AbstractFunction
public java.lang.String toString()
toString
in class AbstractFunction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |