@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, setTypedPercent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldReportConformanceViolation
public void generateReport()
ErrorManager
ErrorManager.report(com.google.javascript.jscomp.CheckLevel, com.google.javascript.jscomp.JSError)
calls.generateReport
in interface ErrorManager
generateReport
in class SortingErrorManager
public abstract void println(CheckLevel level, JSError error)
generateReport()
method when generating messages.protected abstract void printSummary()
Copyright © 2009-2019 Google. All Rights Reserved.