|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Script | |
|---|---|
| org.mozilla.javascript | |
| org.mozilla.javascript.commonjs.module | Provides the public API for the CommonJS Modules/1.1 implementation. |
| org.mozilla.javascript.optimizer | |
| Uses of Script in org.mozilla.javascript |
|---|
| Methods in org.mozilla.javascript that return Script | |
|---|---|
Script |
Context.compileReader(Reader in,
String sourceName,
int lineno,
Object securityDomain)
Compiles the source in the given reader. |
Script |
Context.compileReader(Scriptable scope,
Reader in,
String sourceName,
int lineno,
Object securityDomain)
Deprecated. |
Script |
Context.compileString(String source,
String sourceName,
int lineno,
Object securityDomain)
Compiles the source in the given string. |
Script |
Evaluator.createScriptObject(Object bytecode,
Object staticSecurityDomain)
Create a script object. |
Script |
Interpreter.createScriptObject(Object bytecode,
Object staticSecurityDomain)
|
| Methods in org.mozilla.javascript with parameters of type Script | |
|---|---|
String |
Context.decompileScript(Script script,
int indent)
Decompile the script. |
Object |
Context.executeScriptWithContinuations(Script script,
Scriptable scope)
Execute script that may pause execution by capturing a continuation. |
Object |
SecurityController.execWithDomain(Context cx,
Scriptable scope,
Script script,
Object securityDomain)
Deprecated. The application should not override this method and instead override SecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args). |
static DebuggableScript |
Context.getDebuggableView(Script script)
Return DebuggableScript instance if any associated with the script. |
static Scriptable |
JavaAdapter.runScript(Script script)
|
void |
Evaluator.setEvalScriptFlag(Script script)
Mark the given script to indicate it was created by a call to eval() or to a Function constructor. |
void |
Interpreter.setEvalScriptFlag(Script script)
|
| Uses of Script in org.mozilla.javascript.commonjs.module |
|---|
| Methods in org.mozilla.javascript.commonjs.module that return Script | |
|---|---|
Script |
ModuleScript.getScript()
Returns the script object representing the code of the module. |
| Methods in org.mozilla.javascript.commonjs.module with parameters of type Script | |
|---|---|
RequireBuilder |
RequireBuilder.setPostExec(Script postExec)
Sets the script that should execute in every module's scope after the module's own script has executed. |
RequireBuilder |
RequireBuilder.setPreExec(Script preExec)
Sets the script that should execute in every module's scope before the module's own script has executed. |
| Constructors in org.mozilla.javascript.commonjs.module with parameters of type Script | |
|---|---|
ModuleScript(Script script,
URI uri,
URI base)
Creates a new CommonJS module. |
|
Require(Context cx,
Scriptable nativeScope,
ModuleScriptProvider moduleScriptProvider,
Script preExec,
Script postExec,
boolean sandboxed)
Creates a new instance of the require() function. |
|
| Uses of Script in org.mozilla.javascript.optimizer |
|---|
| Methods in org.mozilla.javascript.optimizer that return Script | |
|---|---|
Script |
Codegen.createScriptObject(Object bytecode,
Object staticSecurityDomain)
|
| Methods in org.mozilla.javascript.optimizer with parameters of type Script | |
|---|---|
static void |
OptRuntime.main(Script script,
String[] args)
|
void |
Codegen.setEvalScriptFlag(Script script)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||