RecognitionException Class Reference
#include <RecognitionException.hpp>
Inheritance diagram for RecognitionException:


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 |
| Return file where mishap occurred. | |
| virtual int | getLine () const |
| virtual int | getColumn () const |
| 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 |
Constructor & Destructor Documentation
|
|
Definition at line 15 of file RecognitionException.cpp. |
|
|
Definition at line 22 of file RecognitionException.cpp. |
|
||||||||||||||||||||
|
Definition at line 29 of file RecognitionException.cpp. |
|
|
Definition at line 27 of file RecognitionException.hpp. |
Member Function Documentation
|
|
Definition at line 46 of file RecognitionException.hpp. |
|
|
See what file/line/column info is present and return it as a string.
Definition at line 39 of file RecognitionException.cpp. References ANTLR_USE_NAMESPACE. Referenced by TokenStreamRecognitionException::toString(). |
|
|
Return file where mishap occurred.
Definition at line 32 of file RecognitionException.hpp. |
|
|
Definition at line 39 of file RecognitionException.hpp. |
|
|
Return complete error message with line/column number info (if present).
Reimplemented from ANTLRException. Definition at line 64 of file RecognitionException.cpp. Referenced by TreeParser::reportError(), Parser::reportError(), and CharScanner::reportError(). |
Member Data Documentation
|
|
Definition at line 68 of file RecognitionException.hpp. |
|
|
Definition at line 66 of file RecognitionException.hpp. |
|
|
Definition at line 67 of file RecognitionException.hpp. |
The documentation for this class was generated from the following files:
- lib/antlr/antlr/RecognitionException.hpp
- lib/antlr/src/RecognitionException.cpp
