Package org.mozilla.javascript
Interface Callable
- 
- All Known Subinterfaces:
- Function,- RefCallable
 - All Known Implementing Classes:
- ArrowFunction,- BaseFunction,- BoundFunction,- Delegator,- FunctionObject,- IdFunctionObject,- IdFunctionObjectES6,- LambdaConstructor,- LambdaFunction,- NativeContinuation,- NativeFunction,- NativeJavaClass,- NativeJavaConstructor,- NativeJavaMethod,- NativeJavaTopPackage,- Require,- Synchronizer
 
 public interface CallableGeneric notion of callable object that can execute some script-related code upon request with specified values for script scope and this objects.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Objectcall(Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)Perform the call.
 
- 
- 
- 
Method Detail- 
calljava.lang.Object call(Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args) Perform the call.- Parameters:
- cx- the current Context for this thread
- scope- the scope to use to resolve properties.
- thisObj- the JavaScript- thisobject
- args- the array of arguments
- Returns:
- the result of the call
 
 
- 
 
-