|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ErrorManager
The error manager is in charge of storing, organizing and displaying errors and warnings generated by the compiler.
Method Summary | |
---|---|
void |
generateReport()
Writes a report to an implementation-specific medium. |
int |
getErrorCount()
Gets the number of reported errors. |
JSError[] |
getErrors()
Gets all the errors. |
double |
getTypedPercent()
Gets the percentage of typed expressions. |
int |
getWarningCount()
Gets the number of reported warnings. |
JSError[] |
getWarnings()
Gets all the warnings. |
void |
report(CheckLevel level,
JSError error)
Reports an error. |
void |
setTypedPercent(double typedPercent)
Sets the percentage of typed expressions. |
Method Detail |
---|
void report(CheckLevel level, JSError error)
generateReport()
at the discretion of the implementation.
report
in interface ErrorHandler
level
- the reporting levelerror
- the error to reportvoid generateReport()
report(com.google.javascript.jscomp.CheckLevel, com.google.javascript.jscomp.JSError)
calls.
int getErrorCount()
int getWarningCount()
JSError[] getErrors()
JSError[] getWarnings()
void setTypedPercent(double typedPercent)
double getTypedPercent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |