java.lang.Object
org.htmlunit.corejs.javascript.CompileSpec<JSScript>
org.htmlunit.corejs.javascript.ScriptCompileSpec
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:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScriptCompileSpec.BuilderfromReader(Reader reader) static ScriptCompileSpec.BuilderfromSource(String source) Methods inherited from class org.htmlunit.corejs.javascript.CompileSpec
getCompilationErrorReporter, getCompiler, getCompilerEnvironsProcessor, getLineno, getScope, getSecurityDomain, getSource, getSourceCodeSupplier, getSourceMapper, getSourceName
-
Constructor Details
-
ScriptCompileSpec
-
-
Method Details
-
fromSource
-
fromReader
- Throws:
IOException
-