JSCode

abstract class JSCode<T : ScriptOrFn<T>> : JSCodeExec<T> , JSCodeResume<T>

The compiled form of a script or function. The interpreter's version is InterpreterData.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
abstract class Builder<U : ScriptOrFn<U>>

Builds the code object once the descriptor around it is finished.

Link copied to clipboard

Builds nothing, for a function that cannot be constructed.

Functions

Link copied to clipboard
abstract fun execute(cx: Context, executableObject: T, newTarget: Any?, scope: Scriptable, thisObj: Any?, args: Array<Any?>): Any?
Link copied to clipboard
abstract fun resume(cx: Context, executableObject: T, state: Any?, scope: Scriptable, operation: Int, value: Any?): Any?