Uses of Interface
org.mozilla.javascript.Script
-
Packages that use Script Package Description org.mozilla.javascript org.mozilla.javascript.commonjs.module Provides the public API for the CommonJS Modules/1.1 implementation.org.mozilla.javascript.commonjs.module.provider Provides default implementations for module providers.org.mozilla.javascript.engine org.mozilla.javascript.optimizer org.mozilla.javascript.tools.shell -
-
Uses of Script in org.mozilla.javascript
Classes in org.mozilla.javascript that implement Script Modifier and Type Class Description (package private) class
InterpretedFunction
Fields in org.mozilla.javascript declared as Script Modifier and Type Field Description private Script
NativeScript. script
Methods in org.mozilla.javascript that return Script Modifier and Type Method Description private static Script
NativeScript. compile(Context cx, java.lang.String source)
Script
Context. compileReader(java.io.Reader in, java.lang.String sourceName, int lineno, java.lang.Object securityDomain)
Compiles the source in the given reader.Script
Context. compileReader(Scriptable scope, java.io.Reader in, java.lang.String sourceName, int lineno, java.lang.Object securityDomain)
Deprecated.Script
Context. compileString(java.lang.String source, java.lang.String sourceName, int lineno, java.lang.Object securityDomain)
Compiles the source in the given string.(package private) Script
Context. compileString(java.lang.String source, Evaluator compiler, ErrorReporter compilationErrorReporter, java.lang.String sourceName, int lineno, java.lang.Object securityDomain)
Script
Evaluator. createScriptObject(java.lang.Object bytecode, java.lang.Object staticSecurityDomain)
Create a script object.Script
Interpreter. createScriptObject(java.lang.Object bytecode, java.lang.Object staticSecurityDomain)
Methods in org.mozilla.javascript with parameters of type Script Modifier and Type Method Description java.lang.String
Context. decompileScript(Script script, int indent)
Decompile the script.java.lang.Object
Context. executeScriptWithContinuations(Script script, Scriptable scope)
Execute script that may pause execution by capturing a continuation.java.lang.Object
SecurityController. execWithDomain(Context cx, Scriptable scope, Script script, java.lang.Object securityDomain)
Deprecated.The application should not override this method and instead overrideSecurityController.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)
Constructors in org.mozilla.javascript with parameters of type Script Constructor Description NativeScript(Script script)
-
Uses of Script in org.mozilla.javascript.commonjs.module
Fields in org.mozilla.javascript.commonjs.module declared as Script Modifier and Type Field Description private Script
Require. postExec
private Script
RequireBuilder. postExec
private Script
Require. preExec
private Script
RequireBuilder. preExec
private Script
ModuleScript. script
Methods in org.mozilla.javascript.commonjs.module that return Script Modifier and Type Method Description 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 Modifier and Type Method Description private static void
Require. executeOptionalScript(Script script, Context cx, Scriptable executionScope)
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 Constructor Description ModuleScript(Script script, java.net.URI uri, java.net.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.commonjs.module.provider
Fields in org.mozilla.javascript.commonjs.module.provider with type parameters of type Script Modifier and Type Field Description private java.lang.ref.ReferenceQueue<Script>
SoftCachingModuleScriptProvider. scriptRefQueue
Constructors in org.mozilla.javascript.commonjs.module.provider with parameters of type Script Constructor Description ScriptReference(Script script, java.lang.String moduleId, java.net.URI uri, java.net.URI base, java.lang.Object validator, java.lang.ref.ReferenceQueue<Script> refQueue)
Constructor parameters in org.mozilla.javascript.commonjs.module.provider with type arguments of type Script Constructor Description ScriptReference(Script script, java.lang.String moduleId, java.net.URI uri, java.net.URI base, java.lang.Object validator, java.lang.ref.ReferenceQueue<Script> refQueue)
-
Uses of Script in org.mozilla.javascript.engine
Fields in org.mozilla.javascript.engine declared as Script Modifier and Type Field Description private Script
RhinoCompiledScript. script
Methods in org.mozilla.javascript.engine with parameters of type Script Modifier and Type Method Description (package private) java.lang.Object
RhinoScriptEngine. eval(Script script, javax.script.ScriptContext sc)
Constructors in org.mozilla.javascript.engine with parameters of type Script Constructor Description RhinoCompiledScript(RhinoScriptEngine engine, Script script)
-
Uses of Script in org.mozilla.javascript.optimizer
Methods in org.mozilla.javascript.optimizer that return Script Modifier and Type Method Description Script
Codegen. createScriptObject(java.lang.Object bytecode, java.lang.Object staticSecurityDomain)
Methods in org.mozilla.javascript.optimizer with parameters of type Script Modifier and Type Method Description static void
OptRuntime. main(Script script, java.lang.String[] args)
void
Codegen. setEvalScriptFlag(Script script)
-
Uses of Script in org.mozilla.javascript.tools.shell
Fields in org.mozilla.javascript.tools.shell declared as Script Modifier and Type Field Description private Script
Runner. s
Fields in org.mozilla.javascript.tools.shell with type parameters of type Script Modifier and Type Field Description (package private) java.lang.ref.ReferenceQueue<Script>
Main.ScriptCache. queue
Methods in org.mozilla.javascript.tools.shell that return Script Modifier and Type Method Description private static Script
Main. loadCompiledScript(Context cx, java.lang.String path, byte[] data, java.lang.Object securityDomain)
Methods in org.mozilla.javascript.tools.shell with parameters of type Script Modifier and Type Method Description (package private) void
Main.ScriptCache. put(java.lang.String path, byte[] digest, Script script)
Constructors in org.mozilla.javascript.tools.shell with parameters of type Script Constructor Description Runner(Scriptable scope, Script script)
ScriptReference(java.lang.String path, byte[] digest, Script script, java.lang.ref.ReferenceQueue<Script> queue)
Constructor parameters in org.mozilla.javascript.tools.shell with type arguments of type Script Constructor Description ScriptReference(java.lang.String path, byte[] digest, Script script, java.lang.ref.ReferenceQueue<Script> queue)
-