|
OpenMD 3.1
Molecular Dynamics in the Open
|
Inheritance diagram for antlr::MismatchedTokenException:Public Member Functions | |
| MismatchedTokenException (const char *const *tokenNames_, const int numTokens_, RefAST node_, int lower, int upper_, bool matchNot) | |
| Expected range / not range. | |
| MismatchedTokenException (const char *const *tokenNames_, const int numTokens_, RefAST node_, int expecting_, bool matchNot) | |
| MismatchedTokenException (const char *const *tokenNames_, const int numTokens_, RefAST node_, BitSet set_, bool matchNot) | |
| MismatchedTokenException (const char *const *tokenNames_, const int numTokens_, RefToken token_, int lower, int upper_, bool matchNot, const std ::string &fileName_) | |
| MismatchedTokenException (const char *const *tokenNames_, const int numTokens_, RefToken token_, int expecting_, bool matchNot, const std ::string &fileName_) | |
| MismatchedTokenException (const char *const *tokenNames_, const int numTokens_, RefToken token_, BitSet set_, bool matchNot, const std ::string &fileName_) | |
| std::string | getMessage () const |
| Returns a clean error message (no line number/column information) | |
Public Member Functions inherited from antlr::RecognitionException | |
| RecognitionException (const std ::string &s) | |
| RecognitionException (const std ::string &s, const std ::string &fileName, int line, int column) | |
| 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. | |
Public Member Functions inherited from antlr::ANTLRException | |
| ANTLRException () | |
| Create ANTLR base exception without error message. | |
| ANTLRException (const std ::string &s) | |
| Create ANTLR base exception with error message. | |
Public Attributes | |
| const RefToken | token |
| The token that was encountered. | |
| const RefAST | node |
| The offending AST node if tree walking. | |
| std::string | tokenText |
| taken from node or token object | |
| int | mismatchType |
| One of the above. | |
| int | expecting |
| For TOKEN/NOT_TOKEN and RANGE/NOT_RANGE. | |
| int | upper |
| For RANGE/NOT_RANGE (expecting is lower bound of range) | |
| BitSet | set |
| For SET/NOT_SET. | |
Static Public Attributes | |
| static const int | TOKEN = 1 |
| Types of tokens. | |
| static const int | NOT_TOKEN = 2 |
| static const int | RANGE = 3 |
| static const int | NOT_RANGE = 4 |
| static const int | SET = 5 |
| static const int | NOT_SET = 6 |
Additional Inherited Members | |
Protected Attributes inherited from antlr::RecognitionException | |
| std::string | fileName |
| int | line |
| int | column |
Definition at line 22 of file MismatchedTokenException.hpp.
| antlr::MismatchedTokenException::MismatchedTokenException | ( | ) |
Definition at line 15 of file MismatchedTokenException.cpp.
| antlr::MismatchedTokenException::MismatchedTokenException | ( | const char *const * | tokenNames_, |
| const int | numTokens_, | ||
| RefAST | node_, | ||
| int | lower, | ||
| int | upper_, | ||
| bool | matchNot ) |
Expected range / not range.
Definition at line 25 of file MismatchedTokenException.cpp.
| antlr::MismatchedTokenException::MismatchedTokenException | ( | const char *const * | tokenNames_, |
| const int | numTokens_, | ||
| RefAST | node_, | ||
| int | expecting_, | ||
| bool | matchNot ) |
Definition at line 45 of file MismatchedTokenException.cpp.
| antlr::MismatchedTokenException::MismatchedTokenException | ( | const char *const * | tokenNames_, |
| const int | numTokens_, | ||
| RefAST | node_, | ||
| BitSet | set_, | ||
| bool | matchNot ) |
Definition at line 63 of file MismatchedTokenException.cpp.
| antlr::MismatchedTokenException::MismatchedTokenException | ( | const char *const * | tokenNames_, |
| const int | numTokens_, | ||
| RefToken | token_, | ||
| int | lower, | ||
| int | upper_, | ||
| bool | matchNot, | ||
| const std ::string & | fileName_ ) |
Definition at line 81 of file MismatchedTokenException.cpp.
| antlr::MismatchedTokenException::MismatchedTokenException | ( | const char *const * | tokenNames_, |
| const int | numTokens_, | ||
| RefToken | token_, | ||
| int | expecting_, | ||
| bool | matchNot, | ||
| const std ::string & | fileName_ ) |
Definition at line 102 of file MismatchedTokenException.cpp.
| antlr::MismatchedTokenException::MismatchedTokenException | ( | const char *const * | tokenNames_, |
| const int | numTokens_, | ||
| RefToken | token_, | ||
| BitSet | set_, | ||
| bool | matchNot, | ||
| const std ::string & | fileName_ ) |
Definition at line 121 of file MismatchedTokenException.cpp.
|
inline | ||||||||||||
Definition at line 84 of file MismatchedTokenException.hpp.
|
virtual |
Returns a clean error message (no line number/column information)
Reimplemented from antlr::ANTLRException.
Definition at line 139 of file MismatchedTokenException.cpp.
References expecting, antlr::ANTLRException::getMessage(), mismatchType, TOKEN, tokenText, and upper.
| int antlr::MismatchedTokenException::expecting |
For TOKEN/NOT_TOKEN and RANGE/NOT_RANGE.
Definition at line 123 of file MismatchedTokenException.hpp.
Referenced by getMessage().
| int antlr::MismatchedTokenException::mismatchType |
One of the above.
Definition at line 120 of file MismatchedTokenException.hpp.
Referenced by getMessage().
| const RefAST antlr::MismatchedTokenException::node |
The offending AST node if tree walking.
Definition at line 95 of file MismatchedTokenException.hpp.
|
static |
Definition at line 104 of file MismatchedTokenException.hpp.
|
static |
Definition at line 106 of file MismatchedTokenException.hpp.
|
static |
Definition at line 102 of file MismatchedTokenException.hpp.
|
static |
Definition at line 103 of file MismatchedTokenException.hpp.
|
static |
Definition at line 105 of file MismatchedTokenException.hpp.
| BitSet antlr::MismatchedTokenException::set |
For SET/NOT_SET.
Definition at line 129 of file MismatchedTokenException.hpp.
|
static |
Types of tokens.
Definition at line 101 of file MismatchedTokenException.hpp.
Referenced by getMessage().
| const RefToken antlr::MismatchedTokenException::token |
The token that was encountered.
Definition at line 93 of file MismatchedTokenException.hpp.
| std::string antlr::MismatchedTokenException::tokenText |
taken from node or token object
Definition at line 97 of file MismatchedTokenException.hpp.
Referenced by getMessage().
| int antlr::MismatchedTokenException::upper |
For RANGE/NOT_RANGE (expecting is lower bound of range)
Definition at line 126 of file MismatchedTokenException.hpp.
Referenced by getMessage().