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


Public Member Functions | |
| NoViableAltException (RefAST t) | |
| NoViableAltException (RefToken t, const std ::string &fileName_) | |
| ~NoViableAltException () throw () | |
| std ::string | getMessage () const |
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. More... | |
| 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) More... | |
| virtual std ::string | getFileLineColumnString () const |
| See what file/line/column info is present and return it as a string. More... | |
Public Attributes | |
| const RefToken | token |
| const RefAST | node |
Additional Inherited Members | |
Protected Attributes inherited from RecognitionException | |
| std ::string | fileName |
| int | line |
| int | column |
| NoViableAltException::NoViableAltException | ( | RefAST | t | ) |
| NoViableAltException::NoViableAltException | ( | RefToken | t, |
| const std ::string & | fileName_ | ||
| ) |
|
inline | |||||||||||||
| std::string NoViableAltException::getMessage | ( | ) | const |
Returns a clean error message (no line number/column information)
| const RefAST NoViableAltException::node |
| const RefToken NoViableAltException::token |
1.8.14