Uses of Interface
org.htmlunit.corejs.javascript.Script
-
-
Uses of Script in org.htmlunit.corejs.javascript
Classes in org.htmlunit.corejs.javascript that implement Script Modifier and Type Class Description (package private) classInterpretedFunctionFields in org.htmlunit.corejs.javascript declared as Script Modifier and Type Field Description private ScriptNativeScript. scriptMethods in org.htmlunit.corejs.javascript that return Script Modifier and Type Method Description private static ScriptNativeScript. compile(Context cx, java.lang.String source)ScriptContext. compileReader(java.io.Reader in, java.lang.String sourceName, int lineno, java.lang.Object securityDomain)Compiles the source in the given reader.ScriptContext. compileReader(Scriptable scope, java.io.Reader in, java.lang.String sourceName, int lineno, java.lang.Object securityDomain)Deprecated.ScriptContext. compileString(java.lang.String source, java.lang.String sourceName, int lineno, java.lang.Object securityDomain)Compiles the source in the given string.protected ScriptContext. compileString(java.lang.String source, Evaluator compiler, ErrorReporter compilationErrorReporter, java.lang.String sourceName, int lineno, java.lang.Object securityDomain)ScriptEvaluator. createScriptObject(java.lang.Object bytecode, java.lang.Object staticSecurityDomain)Create a script object.ScriptInterpreter. createScriptObject(java.lang.Object bytecode, java.lang.Object staticSecurityDomain)Methods in org.htmlunit.corejs.javascript with parameters of type Script Modifier and Type Method Description java.lang.StringContext. decompileScript(Script script, int indent)Decompile the script.java.lang.ObjectContext. executeScriptWithContinuations(Script script, Scriptable scope)Execute script that may pause execution by capturing a continuation.java.lang.ObjectSecurityController. 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 DebuggableScriptContext. getDebuggableView(Script script)Return DebuggableScript instance if any associated with the script.static ScriptableJavaAdapter. runScript(Script script)voidEvaluator. 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)Constructors in org.htmlunit.corejs.javascript with parameters of type Script Constructor Description NativeScript(Script script) -
Uses of Script in org.htmlunit.corejs.javascript.commonjs.module
Fields in org.htmlunit.corejs.javascript.commonjs.module declared as Script Modifier and Type Field Description private ScriptRequire. postExecprivate ScriptRequireBuilder. postExecprivate ScriptRequire. preExecprivate ScriptRequireBuilder. preExecprivate ScriptModuleScript. scriptMethods in org.htmlunit.corejs.javascript.commonjs.module that return Script Modifier and Type Method Description ScriptModuleScript. getScript()Returns the script object representing the code of the module.Methods in org.htmlunit.corejs.javascript.commonjs.module with parameters of type Script Modifier and Type Method Description private static voidRequire. executeOptionalScript(Script script, Context cx, Scriptable executionScope)RequireBuilderRequireBuilder. setPostExec(Script postExec)Sets the script that should execute in every module's scope after the module's own script has executed.RequireBuilderRequireBuilder. 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.htmlunit.corejs.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.htmlunit.corejs.javascript.commonjs.module.provider
Fields in org.htmlunit.corejs.javascript.commonjs.module.provider with type parameters of type Script Modifier and Type Field Description private java.lang.ref.ReferenceQueue<Script>SoftCachingModuleScriptProvider. scriptRefQueueConstructors in org.htmlunit.corejs.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.htmlunit.corejs.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.htmlunit.corejs.javascript.engine
Fields in org.htmlunit.corejs.javascript.engine declared as Script Modifier and Type Field Description private ScriptRhinoCompiledScript. scriptMethods in org.htmlunit.corejs.javascript.engine with parameters of type Script Modifier and Type Method Description (package private) java.lang.ObjectRhinoScriptEngine. eval(Script script, javax.script.ScriptContext sc)Constructors in org.htmlunit.corejs.javascript.engine with parameters of type Script Constructor Description RhinoCompiledScript(RhinoScriptEngine engine, Script script) -
Uses of Script in org.htmlunit.corejs.javascript.optimizer
Methods in org.htmlunit.corejs.javascript.optimizer that return Script Modifier and Type Method Description ScriptCodegen. createScriptObject(java.lang.Object bytecode, java.lang.Object staticSecurityDomain)Methods in org.htmlunit.corejs.javascript.optimizer with parameters of type Script Modifier and Type Method Description static voidOptRuntime. main(Script script, java.lang.String[] args)voidCodegen. setEvalScriptFlag(Script script) -
Uses of Script in org.htmlunit.corejs.javascript.tools.shell
Fields in org.htmlunit.corejs.javascript.tools.shell declared as Script Modifier and Type Field Description private ScriptRunner. sFields in org.htmlunit.corejs.javascript.tools.shell with type parameters of type Script Modifier and Type Field Description (package private) java.lang.ref.ReferenceQueue<Script>Main.ScriptCache. queueMethods in org.htmlunit.corejs.javascript.tools.shell that return Script Modifier and Type Method Description private static ScriptMain. loadCompiledScript(Context cx, java.lang.String path, byte[] data, java.lang.Object securityDomain)Methods in org.htmlunit.corejs.javascript.tools.shell with parameters of type Script Modifier and Type Method Description (package private) voidMain.ScriptCache. put(java.lang.String path, byte[] digest, Script script)Constructors in org.htmlunit.corejs.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.htmlunit.corejs.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)
-