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,
java.lang.String source,
Evaluator compiler,
ErrorReporter compilationErrorReporter,
java.lang.String sourceName,
int lineno,
java.lang.Object securityDomain) |
protected Script |
Context.compileString(java.lang.String source,
Evaluator compiler,
ErrorReporter compilationErrorReporter,
java.lang.String sourceName,
int lineno,
java.lang.Object securityDomain) |
ErrorReporter |
Context.setErrorReporter(ErrorReporter reporter)
Change the current error reporter.
|
void |
CompilerEnvirons.setErrorReporter(ErrorReporter errorReporter) |
Constructor and Description |
---|
IRFactory(CompilerEnvirons env,
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) |