Class Runner
java.lang.Object
org.htmlunit.corejs.javascript.tools.shell.Runner
- All Implemented Interfaces:
Runnable
,ContextAction<Object>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Object[]
private Function
(package private) ContextFactory
private Script
private Scriptable
-
Constructor Summary
ConstructorsConstructorDescriptionRunner
(Scriptable scope, Function func, Object[] args) Runner
(Scriptable scope, Script script) -
Method Summary
-
Field Details
-
factory
ContextFactory factory -
scope
-
f
-
s
-
args
-
-
Constructor Details
-
Runner
Runner(Scriptable scope, Function func, Object[] args) -
Runner
Runner(Scriptable scope, Script script)
-
-
Method Details
-
run
public void run() -
run
Description copied from interface:ContextAction
Execute action using the supplied Context instance. When Rhino runtime calls the method,cx
will be associated with the current thread as active context.- Specified by:
run
in interfaceContextAction<Object>
- See Also:
-