Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.refactoring |
Modifier and Type | Interface and Description |
---|---|
interface |
ErrorManager
The error manager is in charge of storing, organizing and displaying
errors and warnings generated by the compiler.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicErrorManager
A basic error manager that sorts all errors and warnings reported to it to
generate a sorted report when the
BasicErrorManager.generateReport() method
is called. |
class |
LoggerErrorManager
An error manager that logs errors and warnings using a logger in addition to
collecting them in memory.
|
class |
PrintStreamErrorManager
An error manager that prints errors and warnings to the print stream
provided in addition to the functionality of the
BasicErrorManager . |
class |
WhitelistWarningsGuard.WhitelistBuilder
Whitelist builder
|
Modifier and Type | Method and Description |
---|---|
void |
CompilerOptions.setErrorHandler(ErrorHandler handler)
Set a custom handler for warnings and errors.
|
Modifier and Type | Class and Description |
---|---|
class |
FixingErrorManager
An error manager that finds a SuggestedFix for all errors if possible.
|
Copyright © 2009-2016 Google. All Rights Reserved.