#include <scripterrortable.hpp>
|
| virtual void | report (const std::string &message, const Compiler::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...
|
| |
| void | addMessage (const std::string &message, CSMDoc::Message::Severity severity, int line=-1, int column=-1) |
| |
| void | setWarningsMode (const std::string &value) |
| |
Private 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...
|
| |
| void CSVWorld::ScriptErrorTable::cellClicked |
( |
int |
row, |
|
|
int |
column |
|
) |
| |
|
privateslot |
| void CSVWorld::ScriptErrorTable::clear |
( |
| ) |
|
| bool CSVWorld::ScriptErrorTable::clearLocals |
( |
const std::string & |
script | ) |
|
Clear local variable cache for script.
- Returns
- Were there any locals that needed clearing?
| void CSVWorld::ScriptErrorTable::highlightError |
( |
int |
line, |
|
|
int |
column |
|
) |
| |
|
signal |
| void CSVWorld::ScriptErrorTable::report |
( |
const std::string & |
message, |
|
|
const Compiler::TokenLoc & |
loc, |
|
|
Type |
type |
|
) |
| |
|
privatevirtual |
| void CSVWorld::ScriptErrorTable::report |
( |
const std::string & |
message, |
|
|
Type |
type |
|
) |
| |
|
privatevirtual |
| void CSVWorld::ScriptErrorTable::setWarningsMode |
( |
const std::string & |
value | ) |
|
|
private |
| void CSVWorld::ScriptErrorTable::update |
( |
const std::string & |
source | ) |
|
The documentation for this class was generated from the following files: