#include <RecognitionException.hpp>


Public Member Functions | |
| RecognitionException () | |
| RecognitionException (const ANTLR_USE_NAMESPACE(std) string &s) | |
| RecognitionException (const ANTLR_USE_NAMESPACE(std) string &s, const ANTLR_USE_NAMESPACE(std) string &fileName, int line, int column) | |
| virtual | ~RecognitionException () throw () |
| virtual | ANTLR_USE_NAMESPACE (std) string getFilename() const throw () |
| Return file where mishap occurred. | |
| virtual int | getLine () const throw () |
| virtual int | getColumn () const throw () |
| virtual | ANTLR_USE_NAMESPACE (std) string toString() const |
| Return complete error message with line/column number info (if present). | |
| virtual | ANTLR_USE_NAMESPACE (std) string getFileLineColumnString() const |
| See what file/line/column info is present and return it as a string. | |
Protected Member Functions | |
| ANTLR_USE_NAMESPACE (std) string fileName | |
Protected Attributes | |
| int | line |
| int | column |
Definition at line 18 of file RecognitionException.hpp.
| RecognitionException::RecognitionException | ( | ) |
| RecognitionException::RecognitionException | ( | const ANTLR_USE_NAMESPACE(std) string & | s | ) |
| RecognitionException::RecognitionException | ( | const ANTLR_USE_NAMESPACE(std) string & | s, | |
| const ANTLR_USE_NAMESPACE(std) string & | fileName, | |||
| int | line, | |||
| int | column | |||
| ) |
| virtual RecognitionException::~RecognitionException | ( | ) | throw () [inline, virtual] |
Definition at line 27 of file RecognitionException.hpp.
| virtual RecognitionException::ANTLR_USE_NAMESPACE | ( | std | ) | const throw () [inline, virtual] |
Return file where mishap occurred.
Reimplemented from ANTLRException.
Reimplemented in MismatchedCharException, MismatchedTokenException, MismatchedTokenException, NoViableAltException, and NoViableAltForCharException.
Definition at line 32 of file RecognitionException.hpp.
| virtual int RecognitionException::getLine | ( | ) | const throw () [inline, virtual] |
Definition at line 39 of file RecognitionException.hpp.
| virtual int RecognitionException::getColumn | ( | ) | const throw () [inline, virtual] |
Definition at line 46 of file RecognitionException.hpp.
| virtual RecognitionException::ANTLR_USE_NAMESPACE | ( | std | ) | const [virtual] |
Return complete error message with line/column number info (if present).
Reimplemented from ANTLRException.
Reimplemented in MismatchedCharException, MismatchedTokenException, MismatchedTokenException, NoViableAltException, and NoViableAltForCharException.
| virtual RecognitionException::ANTLR_USE_NAMESPACE | ( | std | ) | const [virtual] |
See what file/line/column info is present and return it as a string.
Reimplemented from ANTLRException.
Reimplemented in MismatchedCharException, MismatchedTokenException, MismatchedTokenException, NoViableAltException, and NoViableAltForCharException.
| RecognitionException::ANTLR_USE_NAMESPACE | ( | std | ) | [protected] |
int RecognitionException::line [protected] |
Definition at line 58 of file RecognitionException.hpp.
int RecognitionException::column [protected] |
Definition at line 59 of file RecognitionException.hpp.
1.5.6