|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IFunction
| Method Summary | |
|---|---|
IObject |
construct(Environment environment,
IObject[] arguments,
int fileIndex,
IRange sourceRegion)
Constructs a new Object with using the passed arguments. |
IScope |
getBodyScope()
Return the scope that is in affect within |
IInvokeTypeProvider |
getInvokeTypeProvider()
Get this functions invoke type provider |
java.lang.String[] |
getParameterNames()
Return a string array of the parameters for this IFunction |
IObject |
invoke(Environment environment,
IObject[] arguments,
int fileIndex,
IRange sourceRegion)
Invoke this method with the specified parameters |
void |
setBodyScope(IScope scope)
Set the scope to be used in this IFunction's body |
void |
setInvokeTypeProvider(IInvokeTypeProvider typeProvider)
Set a type provider to be used to determine this function's return type when this function is not documented |
void |
setParameterNames(java.lang.String[] parameters)
Set the parameter names used to define this IFunction |
| Method Detail |
|---|
IScope getBodyScope()
void setBodyScope(IScope scope)
scope - The new scope to use in this function's bodyjava.lang.String[] getParameterNames()
void setParameterNames(java.lang.String[] parameters)
parameters - A string array of parameters namesIInvokeTypeProvider getInvokeTypeProvider()
void setInvokeTypeProvider(IInvokeTypeProvider typeProvider)
typeProvider - The type provider
IObject construct(Environment environment,
IObject[] arguments,
int fileIndex,
IRange sourceRegion)
environment - arguments - The arguments to use in constructing the new object.fileIndex - The file indexsourceRegion - The region of text within the source file that represents the construction of this instance
IObject invoke(Environment environment,
IObject[] arguments,
int fileIndex,
IRange sourceRegion)
environment - arguments - The arguments to use in constructing the new object.fileIndex - The file indexsourceRegion - The region of text within the source file that represents the construction of this instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||