Modifier and Type | Method and Description |
---|---|
AbstractFunction |
QuercusContext.findFunction(StringValue name)
Returns the function with the given name.
|
AbstractFunction |
QuercusContext.findFunctionImpl(StringValue name)
Returns the function with the given name.
|
AbstractFunction |
QuercusContext.findLowerFunctionImpl(StringValue lowerName)
Returns the function with the given name.
|
AbstractFunction[] |
QuercusContext.getFunctionMap()
Returns the undefined functions
|
AbstractFunction |
QuercusContext.parseFunction(java.lang.String name,
java.lang.String args,
java.lang.String code)
Parses a function.
|
Modifier and Type | Method and Description |
---|---|
int |
QuercusContext.setFunction(StringValue name,
AbstractFunction fun) |
Modifier and Type | Method and Description |
---|---|
AbstractFunction |
LazyClassDef.findConstructor()
Returns the constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.util.Map.Entry<StringValue,AbstractFunction>> |
LazyClassDef.functionSet() |
Modifier and Type | Class and Description |
---|---|
class |
AbstractJavaMethod
Represents the introspected static function information.
|
class |
JavaConstructor
Represents the introspected static function information.
|
class |
JavaInvoker
Represents the introspected static function information.
|
class |
JavaMethod
Represents a function created from a java method.
|
class |
JavaOverloadMethod
Represents the introspected static function information.
|
Modifier and Type | Field and Description |
---|---|
AbstractFunction[] |
Env._fun |
Modifier and Type | Field and Description |
---|---|
java.util.HashMap<StringValue,AbstractFunction> |
Env._anonymousFunMap |
Modifier and Type | Method and Description |
---|---|
AbstractFunction |
Env.createAnonymousFunction(java.lang.String args,
java.lang.String code) |
AbstractFunction |
CompiledClassDef.findConstructor()
Returns the constructor
|
AbstractFunction |
QuercusClass.findConstructor()
Finds the matching constructor.
|
AbstractFunction |
QuercusClass.findFunction(java.lang.String methodName)
Finds the matching function.
|
AbstractFunction |
Env.findFunction(java.lang.String className,
java.lang.String methodName)
Finds the class and method.
|
AbstractFunction |
Value.findFunction(StringValue methodName)
Finds the method name.
|
AbstractFunction |
JavaAdapter.findFunction(StringValue methodName)
Returns the method.
|
AbstractFunction |
QuercusClass.findFunction(StringValue methodName)
Finds the matching function.
|
AbstractFunction |
ObjectValue.findFunction(StringValue methodName)
Finds the method name.
|
AbstractFunction |
DefinitionState.findFunction(StringValue name)
Finds the java reflection method for the function with the given name.
|
AbstractFunction |
Env.findFunction(StringValue name)
Returns the function with a given name.
|
AbstractFunction |
QuercusClass.findStaticFunction(java.lang.String name)
Finds the matching function.
|
AbstractFunction |
QuercusClass.findStaticFunctionLowerCase(java.lang.String name)
Finds a function.
|
AbstractFunction |
JavaOverloadMethod.getActualFunction(Expr[] args)
Returns the actual function
|
AbstractFunction |
QuercusClass.getCall()
Gets the __call
|
AbstractFunction |
QuercusClass.getCallStatic()
Gets the _callStatic
|
AbstractFunction |
QuercusClass.getConstructor()
Gets the constructor.
|
protected AbstractFunction[] |
Env.getDefaultFunctionMap() |
AbstractFunction |
QuercusClass.getDestructor()
Gets the destructor.
|
AbstractFunction |
QuercusClass.getFieldGet()
Returns the __fieldGet
|
AbstractFunction |
QuercusClass.getFieldSet()
Returns the __fieldSet
|
AbstractFunction |
CallbackFunction.getFunction(Env env) |
AbstractFunction |
Env.getFunction(int id) |
AbstractFunction |
QuercusClass.getFunction(StringValue methodName)
Finds the matching function.
|
AbstractFunction |
Env.getFunction(StringValue name) |
AbstractFunction |
QuercusClass.getFunction(StringValue methodName,
int hash)
Finds the matching function.
|
AbstractFunction |
Env.getFunction(Value name)
Finds the java reflection method for the function with the given name.
|
AbstractFunction[] |
SaveState.getFunctionList()
Returns the function list
|
AbstractFunction |
QuercusClass.getInvoke()
Gets the __invoke
|
AbstractFunction |
QuercusClass.getIsset() |
AbstractFunction |
QuercusClass.getMethod(StringValue name) |
AbstractFunction |
ObjectValue.getMethod(StringValue name) |
AbstractFunction |
QuercusClass.getSerialize() |
AbstractFunction |
QuercusClass.getStaticFunction(java.lang.String name)
Finds the matching function.
|
AbstractFunction |
QuercusClass.getToString()
Gets the __toString
|
AbstractFunction |
QuercusClass.getUnserialize() |
AbstractFunction |
QuercusClass.getUnset() |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<AbstractFunction> |
QuercusClass.getClassMethods()
Returns the declared functions.
|
MethodMap<AbstractFunction> |
QuercusClass.getMethodMap() |
Modifier and Type | Method and Description |
---|---|
Value |
Env.addFunction(java.lang.String name,
AbstractFunction fun) |
Value |
DefinitionState.addFunction(StringValue name,
AbstractFunction fun)
Adds a function, e.g.
|
Value |
Env.addFunction(StringValue name,
AbstractFunction fun) |
Value |
DefinitionState.addFunction(StringValue name,
StringValue lowerName,
AbstractFunction fun)
Adds a function from a compiled include
|
Value |
Env.addFunctionFromPage(java.lang.String name,
java.lang.String lowerName,
AbstractFunction fun)
Adds a function from a compiled include
|
void |
QuercusClass.addMethod(StringValue name,
AbstractFunction fun)
Adds a method.
|
void |
QuercusClass.addMethodIfNotExist(StringValue name,
AbstractFunction fun)
Adds a method if it does not exist.
|
void |
QuercusClass.addTraitMethod(java.lang.String bindingClassName,
StringValue name,
AbstractFunction fun)
Adds a trait method to this class.
|
void |
QuercusClass.setCall(AbstractFunction fun)
Sets the __call
|
void |
QuercusClass.setCallStatic(AbstractFunction fun)
Sets the _callStatic
|
void |
QuercusClass.setConstructor(AbstractFunction fun)
Sets the constructor.
|
void |
QuercusClass.setDestructor(AbstractFunction fun)
Sets the destructor.
|
void |
QuercusClass.setFieldGet(AbstractFunction fun)
Sets the __fieldGet
|
void |
QuercusClass.setFieldSet(AbstractFunction fun)
Sets the __fieldSet
|
protected void |
CallbackFunction.setFunction(AbstractFunction fun)
Allow subclasses to set the abstract function directly.
|
void |
QuercusClass.setInvoke(AbstractFunction fun)
Sets the __invoke
|
void |
QuercusClass.setIsset(AbstractFunction isset) |
void |
QuercusClass.setSerialize(AbstractFunction serializeFun,
AbstractFunction unserializeFun)
Sets the Serializable functions.
|
void |
QuercusClass.setToString(AbstractFunction fun)
Sets the __toString
|
void |
QuercusClass.setUnset(AbstractFunction unset) |
void |
Env.updateFunction(int id,
AbstractFunction fun) |
Constructor and Description |
---|
CallbackFunction(AbstractFunction fun) |
CallbackFunction(AbstractFunction fun,
StringValue funName) |
InterpretedClosure(Env env,
AbstractFunction fun,
Value qThis) |
Modifier and Type | Field and Description |
---|---|
protected AbstractFunction |
ClassVarMethodExpr._fun |
protected AbstractFunction |
ClassVirtualMethodVarExpr._fun |
protected AbstractFunction |
ThisMethodExpr._fun |
protected AbstractFunction |
ClassMethodVarExpr._fun |
protected AbstractFunction |
ClassVarMethodVarExpr._fun |
Modifier and Type | Class and Description |
---|---|
class |
CompiledAbstractFunction |
class |
CompiledFunction
Represents a compiled function
|
class |
CompiledFunction_0
Represents a compiled function with 0 args
|
class |
CompiledFunction_1
Represents a compiled function with 1 arg
|
class |
CompiledFunction_2
Represents a compiled function with 2 args
|
class |
CompiledFunction_3
Represents a compiled function with 3 args
|
class |
CompiledFunction_4
Represents a compiled function with 4 args
|
class |
CompiledFunction_5
Represents a compiled function with 5 args
|
class |
CompiledFunction_N
Represents a compiled function with N args
|
class |
CompiledFunctionRef
Represents a compiled function with 1 arg
|
class |
CompiledFunctionRef_0
Represents a compiled function with 0 args
|
class |
CompiledFunctionRef_1
Represents a compiled function with 1 arg
|
class |
CompiledFunctionRef_2
Represents a compiled function with 2 args
|
class |
CompiledFunctionRef_3
Represents a compiled function with 3 args
|
class |
CompiledFunctionRef_4
Represents a compiled function with 4 args
|
class |
CompiledFunctionRef_5
Represents a compiled function with 5 args
|
class |
CompiledFunctionRef_N
Represents a compiled function with N args
|
class |
CompiledMethod
Represents a compiled method with 0 args
|
class |
CompiledMethod_0
Represents a compiled method with 0 args
|
class |
CompiledMethod_1
Represents a compiled method with 1 arg
|
class |
CompiledMethod_2
Represents a compiled method with 2 args
|
class |
CompiledMethod_3
Represents a compiled method with 3 args
|
class |
CompiledMethod_4
Represents a compiled method with 4 args
|
class |
CompiledMethod_5
Represents a compiled method with 5 args
|
class |
CompiledMethod_N
Represents a compiled method with N args
|
class |
CompiledMethodRef
Represents a compiled function with 1 arg
|
class |
CompiledMethodRef_0
Represents a compiled method with 0 args
|
class |
CompiledMethodRef_1
Represents a compiled method with 1 arg
|
class |
CompiledMethodRef_2
Represents a compiled method with 2 args
|
class |
CompiledMethodRef_3
Represents a compiled method with 3 args
|
class |
CompiledMethodRef_4
Represents a compiled method with 4 args
|
class |
CompiledMethodRef_5
Represents a compiled method with 5 args
|
class |
CompiledMethodRef_N
Represents a compiled method with N args
|
class |
FunSpecialCall
Represents a function
|
class |
LazyFunction
Lazily load a compiled function.
|
class |
LazyMethod
Lazily load a compiled method.
|
Modifier and Type | Method and Description |
---|---|
AbstractFunction |
AbstractFunction.getActualFunction(Expr[] args)
Returns the actual function
|
AbstractFunction |
LazyFunction.toFun() |
AbstractFunction |
AbstractFunction.toFun()
For lazy functions, returns the actual function
|
AbstractFunction |
LazyMethod.toFun(QuercusClass quercusClass) |
Constructor and Description |
---|
FunSpecialCall(AbstractFunction call,
StringValue name) |
Constructor and Description |
---|
ReflectionMethod(AbstractFunction method) |
ReflectionMethod(java.lang.String clsName,
AbstractFunction method) |
ReflectionParameter(java.lang.String clsName,
AbstractFunction fun,
Arg arg) |
Modifier and Type | Class and Description |
---|---|
class |
StaticFunction
Represents the introspected static function information.
|
Modifier and Type | Method and Description |
---|---|
AbstractFunction |
QuercusPage.findFunction(StringValue name)
Finds a function.
|
AbstractFunction |
InterpretedPage.findFunction(StringValue name)
Finds the function
|
Modifier and Type | Method and Description |
---|---|
protected void |
QuercusPage.addFunction(StringValue name,
AbstractFunction fun)
Adds a function.
|
boolean |
QuercusPage.setRuntimeFunction(AbstractFunction[] funList)
Sets a runtime function array after an env.
|
boolean |
InterpretedPage.setRuntimeFunction(AbstractFunction[] funList)
Sets a runtime function array after an env.
|
Modifier and Type | Method and Description |
---|---|
static AbstractFunction |
QuercusParser.parseFunction(QuercusContext quercus,
java.lang.String name,
java.lang.String args,
java.lang.String code) |
Modifier and Type | Class and Description |
---|---|
class |
Function
Represents sequence of statements.
|
class |
MethodDeclaration
Declaration for an abstract function or interface.
|
class |
ObjectMethod
Represents sequence of statements.
|
class |
UndefinedFunction
Represents an undefined
|
class |
UnsetFunction
Represents an unset function
|
Modifier and Type | Field and Description |
---|---|
protected AbstractFunction |
InterpretedClassDef._call |
protected AbstractFunction |
InterpretedClassDef._callStatic |
protected AbstractFunction |
InterpretedClassDef._constructor |
protected AbstractFunction |
InterpretedClassDef._destructor |
protected AbstractFunction |
InterpretedClassDef._getField |
protected AbstractFunction |
InterpretedClassDef._invoke |
protected AbstractFunction |
InterpretedClassDef._isset |
protected AbstractFunction |
InterpretedClassDef._serializeFun |
protected AbstractFunction |
InterpretedClassDef._setField |
protected AbstractFunction |
InterpretedClassDef._toString |
protected AbstractFunction |
InterpretedClassDef._unserializeFun |
protected AbstractFunction |
InterpretedClassDef._unset |
Modifier and Type | Field and Description |
---|---|
protected java.util.LinkedHashMap<StringValue,AbstractFunction> |
InterpretedClassDef._functionMap |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.util.Map.Entry<StringValue,AbstractFunction>> |
InterpretedClassDef.functionSet() |
java.util.Set<java.util.Map.Entry<StringValue,AbstractFunction>> |
ClassDef.functionSet() |
java.util.HashMap<StringValue,AbstractFunction> |
InterpretedClassDef.getFunctionMap() |
Modifier and Type | Method and Description |
---|---|
void |
InterpretedClassDef.setConstructor(AbstractFunction fun)
Sets the constructor.
|
boolean |
QuercusProgram.setRuntimeFunction(AbstractFunction[] funList)
Sets a runtime function array after an env.
|