Package com.google.javascript.jscomp
Class BasicErrorManager
java.lang.Object
com.google.javascript.jscomp.SortingErrorManager
com.google.javascript.jscomp.BasicErrorManager
- All Implemented Interfaces:
ErrorHandler
,ErrorManager
- Direct Known Subclasses:
AntErrorManager
,FixingErrorManager
,LoggerErrorManager
,PrintStreamErrorManager
Deprecated.
An error manager that generates a sorted report when the
generateReport()
method is
called.
This error manager does not produce any output, but subclasses can override the println(CheckLevel, JSError)
method to generate custom output. Consider using the
SortingErrorManager with a custom SortingErrorManager.ErrorReportGenerator
instead.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.javascript.jscomp.SortingErrorManager
SortingErrorManager.ErrorReportGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Writes a report to an implementation-specific medium.abstract void
println
(CheckLevel level, JSError error) Deprecated.Print a message with a trailing new line.protected abstract void
Deprecated.Print the summary of the compilation - number of errors and warnings.Methods inherited from class com.google.javascript.jscomp.SortingErrorManager
getErrorCount, getErrors, getTypedPercent, getWarningCount, getWarnings, hasHaltingErrors, report, setTypedPercent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.javascript.jscomp.ErrorManager
shouldReportConformanceViolation
-
Constructor Details
-
BasicErrorManager
public BasicErrorManager()Deprecated.
-
-
Method Details
-
generateReport
public void generateReport()Deprecated.Description copied from interface:ErrorManager
Writes a report to an implementation-specific medium. The compiler calls this method after any and allErrorManager.report(com.google.javascript.jscomp.CheckLevel, com.google.javascript.jscomp.JSError)
calls.- Specified by:
generateReport
in interfaceErrorManager
- Overrides:
generateReport
in classSortingErrorManager
-
println
Deprecated.Print a message with a trailing new line. This method is called by thegenerateReport()
method when generating messages. -
printSummary
protected abstract void printSummary()Deprecated.Print the summary of the compilation - number of errors and warnings.
-