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:
FixingErrorManager,LoggerErrorManager,PrintStreamErrorManager
@Deprecated public abstract class BasicErrorManager extends SortingErrorManager
Deprecated.An error manager that generates a sorted report when thegenerateReport()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 customSortingErrorManager.ErrorReportGeneratorinstead.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.javascript.jscomp.SortingErrorManager
SortingErrorManager.ErrorReportGenerator
-
-
Constructor Summary
Constructors Constructor Description BasicErrorManager()Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidgenerateReport()Deprecated.Writes a report to an implementation-specific medium.abstract voidprintln(CheckLevel level, JSError error)Deprecated.Print a message with a trailing new line.protected abstract voidprintSummary()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
-
-
-
-
Method Detail
-
generateReport
public void generateReport()
Deprecated.Description copied from interface:ErrorManagerWrites 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:
generateReportin interfaceErrorManager- Overrides:
generateReportin classSortingErrorManager
-
println
public abstract void println(CheckLevel level, JSError error)
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.
-
-