| Package | Description |
|---|---|
| org.htmlunit.corejs.javascript |
| Modifier and Type | Class and Description |
|---|---|
class |
JSCode<T extends ScriptOrFn<T>>
Represents code that is executable, and potentially resumable.
|
static class |
JSCode.Builder<U extends ScriptOrFn<U>>
Represents a mutable
JSCode object in the process of being created, usually as a
child of a JSDescriptor.Builder. |
static class |
JSCode.NullBuilder<V extends ScriptOrFn<V>>
A builder for a null code entry.
|
interface |
JSCodeExec<T extends ScriptOrFn<T>>
This interface represent a thing which can be executed in JavaScript, whether that is a script,
function call, or function constructor.
|
interface |
JSCodeResume<T extends ScriptOrFn<T>>
This interface represent a thing which can be executed in JavaScript, which could be a generator,
or potentially in future an async function.
|
class |
JSDescriptor<T extends ScriptOrFn<T>>
This class holds all the meta-data associated with a function in as an immutable form as
possible, along with the executable things associated with the function.
|
static class |
JSDescriptor.Builder<T extends ScriptOrFn<T>>
A mutable object for creating the final immutable
JSDescriptor. |
interface |
ScriptOrFn<T extends ScriptOrFn<T>>
Super type for Javascript scripts and functions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JSFunction
Represents a JavaScript function built upon a a
JSDescriptor. |
class |
JSScript
Represents a script object built upon a
JSDescriptor. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends ScriptOrFn<T>> |
CodeGenUtils.setConstructor(JSDescriptor.Builder<T> builder,
ScriptNode scriptOrFn)
Configure the constructor appropriately based on a function's type.
|
| Modifier and Type | Method and Description |
|---|---|
static DebuggableScript |
Context.getDebuggableView(ScriptOrFn<?> script)
Return DebuggableScript instance if any associated with the script.
|
static void |
ScriptRuntime.initScript(ScriptOrFn execObj,
Scriptable thisObj,
Context cx,
Scriptable scope,
boolean evalScript) |
Copyright © 2025 HtmlUnit. All rights reserved.