Package org.htmlunit.corejs.javascript
Interface Callable
-
- All Known Subinterfaces:
Function
,RefCallable
- All Known Implementing Classes:
Arguments.ThrowTypeError
,ArrowFunction
,BaseFunction
,BoundFunction
,Delegator
,FieldAndMethods
,FunctionObject
,IdFunctionObject
,IdFunctionObjectES6
,InterpretedFunction
,LambdaConstructor
,LambdaFunction
,NativeContinuation
,NativeFunction
,NativeJavaClass
,NativeJavaConstructor
,NativeJavaMethod
,NativeJavaTopPackage
,NativeProxy
,NativeProxy.Revoker
,NativeRegExpCallable
,NativeRegExpCtor
,NativeScript
,Require
,ScriptRuntime.NoSuchMethodShim
,Synchronizer
public interface Callable
Generic notion of callable object that can execute some script-related code upon request with specified values for script scope and this objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
call(Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)
Perform the call.
-
-
-
Method Detail
-
call
java.lang.Object call(Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)
Perform the call.- Parameters:
cx
- the current Context for this threadscope
- the scope to use to resolve properties.thisObj
- the JavaScriptthis
objectargs
- the array of arguments- Returns:
- the result of the call
-
-