@Deprecated public abstract class BasicErrorManager extends SortingErrorManager
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.
SortingErrorManager.ErrorReportGenerator| Constructor and Description |
|---|
BasicErrorManager()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
generateReport()
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 |
printSummary()
Deprecated.
Print the summary of the compilation - number of errors and warnings.
|
getErrorCount, getErrors, getTypedPercent, getWarningCount, getWarnings, hasHaltingErrors, report, setTypedPercentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldReportConformanceViolationpublic void generateReport()
ErrorManagerErrorManager.report(com.google.javascript.jscomp.CheckLevel, com.google.javascript.jscomp.JSError) calls.generateReport in interface ErrorManagergenerateReport in class SortingErrorManagerpublic abstract void println(CheckLevel level, JSError error)
generateReport() method when generating messages.protected abstract void printSummary()
Copyright © 2009-2019 Google. All Rights Reserved.