Uses of Interface
org.mozilla.javascript.Script
Packages that use Script
Package
Description
Provides the public API for the CommonJS Modules/1.1 implementation.
-
Uses of Script in org.mozilla.javascript
Methods in org.mozilla.javascript that return ScriptModifier and TypeMethodDescriptionfinal ScriptContext.compileReader(Reader in, String sourceName, int lineno, Object securityDomain) Compiles the source in the given reader.final ScriptContext.compileReader(Scriptable scope, Reader in, String sourceName, int lineno, Object securityDomain) Deprecated.final ScriptContext.compileString(String source, String sourceName, int lineno, Object securityDomain) Compiles the source in the given string.Evaluator.createScriptObject(Object bytecode, Object staticSecurityDomain) Create a script object.Interpreter.createScriptObject(Object bytecode, Object staticSecurityDomain) Methods in org.mozilla.javascript with parameters of type ScriptModifier and TypeMethodDescriptionfinal StringContext.decompileScript(Script script, int indent) Decompile the script.Context.executeScriptWithContinuations(Script script, Scriptable scope) Execute script that may pause execution by capturing a continuation.SecurityController.execWithDomain(Context cx, Scriptable scope, Script script, Object securityDomain) Deprecated.static DebuggableScriptContext.getDebuggableView(Script script) Return DebuggableScript instance if any associated with the script.static ScriptablevoidEvaluator.setEvalScriptFlag(Script script) Mark the given script to indicate it was created by a call to eval() or to a Function constructor.voidInterpreter.setEvalScriptFlag(Script script) -
Uses of Script in org.mozilla.javascript.commonjs.module
Methods in org.mozilla.javascript.commonjs.module that return ScriptModifier and TypeMethodDescriptionModuleScript.getScript()Returns the script object representing the code of the module.Methods in org.mozilla.javascript.commonjs.module with parameters of type ScriptModifier and TypeMethodDescriptionRequireBuilder.setPostExec(Script postExec) Sets the script that should execute in every module's scope after the module's own script has executed.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 ScriptModifierConstructorDescriptionModuleScript(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 ScriptModifier and TypeMethodDescriptionCodegen.createScriptObject(Object bytecode, Object staticSecurityDomain) Methods in org.mozilla.javascript.optimizer with parameters of type Script
SecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args).