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

Public Member Functions | |
| 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 | |
| std::string | fileName |
| int | line |
| int | column |
| RecognitionException::RecognitionException | ( | const std::string & | s | ) |
| RecognitionException::RecognitionException | ( | const std::string & | s, |
| const std::string & | fileName, | ||
| int | line, | ||
| int | column | ||
| ) |
| virtual RecognitionException::~RecognitionException | ( | ) | throw () [inline, virtual] |
| virtual int RecognitionException::getColumn | ( | ) | const throw () [inline, virtual] |
| std::string RecognitionException::getFileLineColumnString | ( | ) | const [virtual] |
See what file/line/column info is present and return it as a string.
| virtual std ::string RecognitionException::getFilename | ( | ) | const throw () [inline, virtual] |
Return file where mishap occurred.
| virtual int RecognitionException::getLine | ( | ) | const throw () [inline, virtual] |
| std::string RecognitionException::toString | ( | ) | const [virtual] |
Return complete error message with line/column number info (if present)
int RecognitionException::column [protected] |
std ::string RecognitionException::fileName [protected] |
int RecognitionException::line [protected] |
1.7.6.1