OpenMW
|
Error handler implementation: Ignore all error messages. More...
#include <nullerrorhandler.hpp>
Private Member Functions | |
virtual void | report (const std::string &message, const TokenLoc &loc, Type type) |
Report error to the user. More... | |
virtual void | report (const std::string &message, Type type) |
Report a file related error. More... | |
Additional Inherited Members | |
Public Member Functions inherited from Compiler::ErrorHandler | |
ErrorHandler () | |
constructor More... | |
virtual | ~ErrorHandler () |
destructor More... | |
bool | isGood () const |
Was compiling successful? More... | |
int | countErrors () const |
Return number of errors. More... | |
int | countWarnings () const |
Return number of warnings. More... | |
void | warning (const std::string &message, const TokenLoc &loc) |
Generate a warning message. More... | |
void | error (const std::string &message, const TokenLoc &loc) |
Generate an error message. More... | |
void | endOfFile () |
Generate an error message for an unexpected EOF. More... | |
virtual void | reset () |
Remove all previous error/warning events. More... | |
void | setWarningsMode (int mode) |
// 0 ignore, 1 rate as warning, 2 rate as error More... | |
void | downgradeErrors (bool downgrade) |
Treat errors as warnings. More... | |
Protected Types inherited from Compiler::ErrorHandler | |
enum | Type { WarningMessage, ErrorMessage } |
Error handler implementation: Ignore all error messages.
|
privatevirtual |
Report error to the user.
Implements Compiler::ErrorHandler.
|
privatevirtual |
Report a file related error.
Implements Compiler::ErrorHandler.