Package | Description |
---|---|
com.caucho.quercus.expr | |
com.caucho.quercus.parser | |
com.caucho.quercus.program | |
com.caucho.quercus.statement |
Modifier and Type | Field and Description |
---|---|
protected Function |
ClosureExpr._fun |
Modifier and Type | Method and Description |
---|---|
Function |
ExprFactory.createFunction(Location loc,
java.lang.String name,
FunctionInfo info,
Arg[] argList,
Statement[] statementList)
Creates a new function definition.
|
Function |
ExprFactory.createMethodDeclaration(Location loc,
InterpretedClassDef cl,
java.lang.String name,
FunctionInfo info,
Arg[] argList)
Creates a new object method definition.
|
Function |
ExprFactory.createObjectMethod(Location loc,
InterpretedClassDef cl,
java.lang.String name,
FunctionInfo info,
Arg[] argList,
Statement[] statementList)
Creates a new object method definition.
|
Function |
ClosureExpr.getFunction()
Returns the function
|
Modifier and Type | Method and Description |
---|---|
ClosureExpr |
ExprFactory.createClosure(Location loc,
Function fun,
java.util.ArrayList<VarExpr> useArgs,
boolean isInClassScope)
Creates a new closure.
|
Statement |
ExprFactory.createFunctionDef(Location loc,
Function fun)
Creates a new function definition def.
|
Constructor and Description |
---|
ClosureExpr(Location location,
Function fun,
java.util.ArrayList<VarExpr> useArgs,
boolean isInClassScope) |
Modifier and Type | Method and Description |
---|---|
Function |
QuercusParser.parseFunction(java.lang.String name,
Path argPath,
Path codePath) |
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<StringValue,Function> |
GlobalScope.getConditionalFunctionMap()
Returns the conditional function map.
|
java.util.ArrayList<Function> |
GlobalScope.getFunctionList()
Returns the function list.
|
java.util.HashMap<StringValue,Function> |
GlobalScope.getFunctionMap()
Returns the function map.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Scope.addConditionalFunction(Function function)
Adds a function defined in a conditional block.
|
void |
ClassScope.addConditionalFunction(StringValue name,
Function function)
Adds a function defined in a conditional block.
|
protected void |
FunctionScope.addConditionalFunction(StringValue name,
Function function)
Adds a function defined in a conditional block.
|
protected void |
GlobalScope.addConditionalFunction(StringValue name,
Function function) |
protected void |
Scope.addConditionalFunction(StringValue name,
Function function)
Adds a function defined in a conditional block.
|
void |
ClassScope.addFunction(StringValue name,
Function function,
boolean isTop)
Adds a function.
|
void |
FunctionScope.addFunction(StringValue name,
Function function,
boolean isTop)
Adds a function.
|
void |
GlobalScope.addFunction(StringValue name,
Function function,
boolean isTop)
Adds a function.
|
abstract void |
Scope.addFunction(StringValue name,
Function function,
boolean isTop)
Adds a function.
|
Modifier and Type | Class and Description |
---|---|
class |
MethodDeclaration
Declaration for an abstract function or interface.
|
class |
ObjectMethod
Represents sequence of statements.
|
Modifier and Type | Method and Description |
---|---|
Function |
FunctionInfo.getFunction()
Returns the actual function.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Function> |
QuercusProgram.getFunctionList()
Returns the functions.
|
java.util.Collection<Function> |
QuercusProgram.getFunctions()
Returns the functions.
|
Modifier and Type | Method and Description |
---|---|
void |
InterpretedClassDef.addFunction(StringValue name,
Function fun)
Adds a function.
|
void |
FunctionInfo.setFunction(Function fun)
Sets the actual function.
|
Constructor and Description |
---|
QuercusProgram(QuercusContext quercus,
Path sourceFile,
java.util.HashMap<StringValue,Function> functionMap,
java.util.ArrayList<Function> functionList,
java.util.HashMap<java.lang.String,InterpretedClassDef> classMap,
java.util.ArrayList<InterpretedClassDef> classList,
FunctionInfo functionInfo,
Statement statement)
Creates a new quercus program
|
QuercusProgram(QuercusContext quercus,
Path sourceFile,
java.util.HashMap<StringValue,Function> functionMap,
java.util.ArrayList<Function> functionList,
java.util.HashMap<java.lang.String,InterpretedClassDef> classMap,
java.util.ArrayList<InterpretedClassDef> classList,
FunctionInfo functionInfo,
Statement statement)
Creates a new quercus program
|
Modifier and Type | Field and Description |
---|---|
protected Function |
FunctionDefStatement._fun |
Constructor and Description |
---|
FunctionDefStatement(Location location,
Function fun) |