Module org.htmlunit.corejs
Package org.htmlunit.corejs.javascript
Class JSCode<T extends ScriptOrFn<T>>
java.lang.Object
org.htmlunit.corejs.javascript.JSCode<T>
- All Implemented Interfaces:
JSCodeExec<T>,JSCodeResume<T>
- Direct Known Subclasses:
ACompilerData
public abstract class JSCode<T extends ScriptOrFn<T>>
extends Object
implements JSCodeExec<T>, JSCodeResume<T>
Represents code that is executable, and potentially resumable. Those concepts are separated out
as
JSCodeExec and JSCodeResume to allow for the use of functional interfaces.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJSCode.Builder<U extends ScriptOrFn<U>>Represents a mutableJSCodeobject in the process of being created, usually as a child of aJSDescriptor.Builder.static classJSCode.NullBuilder<V extends ScriptOrFn<V>>A builder for a null code entry.Nested classes/interfaces inherited from interface org.htmlunit.corejs.javascript.JSCodeResume
JSCodeResume.NullResume<T extends ScriptOrFn<T>> -
Field Summary
FieldsFields inherited from interface org.htmlunit.corejs.javascript.JSCodeResume
NULL_RESUMABLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.htmlunit.corejs.javascript.JSCodeExec
executeMethods inherited from interface org.htmlunit.corejs.javascript.JSCodeResume
resume
-
Field Details
-
NOT_CALLABLE
-
-
Constructor Details
-
JSCode
public JSCode()
-