|
ANTLR Support Libraries 2.7.1+
|
#include <NoViableAltForCharException.hpp>


Public Member Functions | |
| NoViableAltForCharException (int c, CharScanner *scanner) | |
| NoViableAltForCharException (int c, const std ::string &fileName_, int line_, int column_) | |
| virtual | ~NoViableAltForCharException () throw () |
| std::string | getMessage () const |
| Returns a clean error message (no line number/column information) | |
Public Member Functions inherited from RecognitionException | |
| RecognitionException () | |
| RecognitionException (const std ::string &s) | |
| RecognitionException (const std ::string &s, const std ::string &fileName, int line, int column) | |
| virtual | ~RecognitionException () throw () |
| virtual std::string | getFilename () const throw () |
| Return file where mishap occurred. | |
| virtual int | getLine () const throw () |
| virtual int | getColumn () const throw () |
| virtual std::string | toString () const |
| Return complete error message with line/column number info (if present) | |
| virtual std::string | getFileLineColumnString () const |
| See what file/line/column info is present and return it as a string. | |
Protected Attributes | |
| int | foundChar |
Protected Attributes inherited from RecognitionException | |
| std::string | fileName |
| int | line |
| int | column |
| NoViableAltForCharException::NoViableAltForCharException | ( | int | c, |
| CharScanner * | scanner | ||
| ) |
| NoViableAltForCharException::NoViableAltForCharException | ( | int | c, |
| const std ::string & | fileName_, | ||
| int | line_, | ||
| int | column_ | ||
| ) |
|
inlinevirtual | |||||||||||||
| std::string NoViableAltForCharException::getMessage | ( | ) | const |
Returns a clean error message (no line number/column information)
|
protected |