| Package | Description |
|---|---|
| org.ringojs.engine |
The core scripting engine including the module loader.
|
| Modifier and Type | Method and Description |
|---|---|
RingoWorker |
RhinoEngine.getCurrentWorker(org.mozilla.javascript.Scriptable obj)
Get the worker associated with the current thread, or the given scope or function argument if provided.
|
RingoWorker |
RhinoEngine.getMainWorker()
Get the main worker running the main script.
|
RingoWorker |
RhinoEngine.getWorker()
Get a new
RingoWorker. |
RingoWorker |
ModuleScope.getWorker() |
protected RingoWorker |
RhinoEngine.setCurrentWorker(RingoWorker worker)
Associate a worker with the current worker and return the worker
that was previously associated with it, or null.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
ReloadableScript.evaluate(org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.Context cx,
RingoWorker worker)
Evaluate the script on a module scope and return the result
|
Object |
ReloadableScript.getScript(org.mozilla.javascript.Context cx,
RingoWorker worker)
Get the actual compiled script.
|
org.mozilla.javascript.Scriptable |
RhinoEngine.getShellScope(RingoWorker worker)
Return a shell scope for interactive evaluation
|
protected org.mozilla.javascript.Scriptable |
ReloadableScript.load(org.mozilla.javascript.Scriptable prototype,
org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable module,
RingoWorker worker)
Get a module scope loaded with this script
|
protected RingoWorker |
RhinoEngine.setCurrentWorker(RingoWorker worker)
Associate a worker with the current worker and return the worker
that was previously associated with it, or null.
|
| Constructor and Description |
|---|
ModuleScope(String moduleId,
Trackable source,
org.mozilla.javascript.Scriptable prototype,
RingoWorker worker) |
Copyright © 2016. All rights reserved.