Generic notion of callable object that can execute some script-related code upon request with specified values for script scope and this objects.
| 11 | * specified values for script scope and this objects. |
| 12 | */ |
| 13 | public interface Callable { |
| 14 | /** |
| 15 | * Perform the call. |
| 16 | * |
| 17 | * @param cx the current Context for this thread |
| 18 | * @param scope the scope to use to resolve properties. |
| 19 | * @param thisObj the JavaScript {@code this} object |
| 20 | * @param args the array of arguments |
| 21 | * @return the result of the call |
| 22 | */ |
| 23 | public Object call(Context cx, VarScope scope, Scriptable thisObj, Object[] args); |
| 24 | } |
no outgoing calls
no test coverage detected