| Package | Description |
|---|---|
| org.htmlunit.corejs.javascript | |
| org.htmlunit.corejs.javascript.ast | |
| org.htmlunit.corejs.javascript.tools | |
| org.htmlunit.corejs.javascript.tools.shell |
| Modifier and Type | Method and Description |
|---|---|
ErrorReporter |
Context.getErrorReporter()
Get the current error reporter.
|
ErrorReporter |
CompilerEnvirons.getErrorReporter() |
ErrorReporter |
Context.setErrorReporter(ErrorReporter reporter)
Change the current error reporter.
|
| Modifier and Type | Method and Description |
|---|---|
protected Function |
Context.compileFunction(Scriptable scope,
String source,
Evaluator compiler,
ErrorReporter compilationErrorReporter,
String sourceName,
int lineno,
Object securityDomain) |
protected Object |
Context.compileImpl(Scriptable scope,
String sourceString,
String sourceName,
int lineno,
Object securityDomain,
boolean returnFunction,
Evaluator compiler,
ErrorReporter compilationErrorReporter,
Consumer<CompilerEnvirons> compilerEnvironProcessor) |
protected Script |
Context.compileString(String source,
Evaluator compiler,
ErrorReporter compilationErrorReporter,
String sourceName,
int lineno,
Object securityDomain,
Consumer<CompilerEnvirons> compilerEnvironsProcessor) |
ErrorReporter |
Context.setErrorReporter(ErrorReporter reporter)
Change the current error reporter.
|
void |
CompilerEnvirons.setErrorReporter(ErrorReporter errorReporter) |
| Constructor and Description |
|---|
IRFactory(CompilerEnvirons env,
String sourceString,
ErrorReporter errorReporter)
Deprecated.
|
IRFactory(CompilerEnvirons env,
String sourceName,
String sourceString,
ErrorReporter errorReporter) |
Parser(CompilerEnvirons compilerEnv,
ErrorReporter errorReporter) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IdeErrorReporter
This is interface defines a protocol for the reporting of errors during JavaScript translation in
IDE-mode.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ErrorCollector
An error reporter that gathers the errors and warnings for later display.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ToolErrorReporter
Error reporter for tools.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ToolErrorReporter.reportException(ErrorReporter er,
RhinoException ex) |
| Modifier and Type | Method and Description |
|---|---|
void |
ShellContextFactory.setErrorReporter(ErrorReporter errorReporter) |
Copyright © 2025 HtmlUnit. All rights reserved.