Class ScriptCompileSpec

java.lang.Object
org.htmlunit.corejs.javascript.CompileSpec<JSScript>
org.htmlunit.corejs.javascript.ScriptCompileSpec

public final class ScriptCompileSpec extends CompileSpec<JSScript>
Parameters for compiling a JavaScript script (i.e. top-level program source). Build instances via fromSource(String) or fromReader(Reader) and pass them to Context.compileScript(ScriptCompileSpec) or Context.evaluateScript(ScriptCompileSpec, VarScope).
See Also: