Uses of Interface
org.htmlunit.corejs.javascript.Script
Packages that use Script
Package
Description
-
Uses of Script in org.htmlunit.corejs.javascript
Classes in org.htmlunit.corejs.javascript that implement ScriptMethods in org.htmlunit.corejs.javascript that return ScriptModifier and TypeMethodDescriptionfinal ScriptContext.compileReader(Reader in, String sourceName, int lineno, Object securityDomain) Compiles the source in the given reader.Context.compileReader(Reader in, String sourceName, int lineno, Object securityDomain, Consumer<CompilerEnvirons> compilerEnvironsProcessor) final ScriptContext.compileReader(Scriptable scope, Reader in, String sourceName, int lineno, Object securityDomain) Deprecated.final ScriptContext.compileScript(ScriptCompileSpec spec) Compile a script described byspec.final ScriptContext.compileScript(ScriptCompileSpec.Builder spec) protected ScriptContext.compileScriptImpl(ScriptCompileSpec spec) final ScriptContext.compileString(String source, String sourceName, int lineno, Object securityDomain) Compiles the source in the given string.protected ScriptContext.compileString(String source, Evaluator compiler, ErrorReporter compilationErrorReporter, String sourceName, int lineno, Object securityDomain, Consumer<CompilerEnvirons> compilerEnvironsProcessor) Evaluator.createScriptObject(CompilationResult<JSScript> compiled, Object staticSecurityDomain) Create a script object.Interpreter.createScriptObject(CompilationResult<JSScript> compiled, Object staticSecurityDomain) InterpreterV2.createScriptObject(CompilationResult<JSScript> compiled, Object staticSecurityDomain) Methods in org.htmlunit.corejs.javascript with parameters of type ScriptModifier and TypeMethodDescriptionContext.callFunctionWithContinuations(Script script, VarScope scope) Call function that may pause execution by capturing a continuation.SecurityController.callWithDomain(Object securityDomain, Context cx, Script script, VarScope scope, Object thisObj, Object[] args) final StringContext.decompileScript(Script script, int indent) Decompile the script.protected ObjectExecute top call to script.static ObjectDeprecated.static ObjectScriptRuntime.doTopCall(Script script, Context cx, VarScope scope, Object thisObj, boolean isTopLevelStrict) Context.executeScriptWithContinuations(Script script, VarScope scope) Execute script that may pause execution by capturing a continuation.SecurityController.execWithDomain(Context cx, VarScope scope, Script script, Object securityDomain) Deprecated.static Scriptable -
Uses of Script in org.htmlunit.corejs.javascript.commonjs.module
Methods in org.htmlunit.corejs.javascript.commonjs.module that return ScriptModifier and TypeMethodDescriptionModuleScript.getScript()Returns the script object representing the code of the module.Methods in org.htmlunit.corejs.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.htmlunit.corejs.javascript.commonjs.module with parameters of type ScriptModifierConstructorDescriptionModuleScript(Script script, URI uri, URI base) Creates a new CommonJS module.Require(Context cx, TopLevel 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.tools.shell
Methods in org.htmlunit.corejs.javascript.tools.shell with parameters of type Script
SecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, VarScope scope, Scriptable thisObj, Object[] args).