#include <MismatchedCharException.hpp>
List of all members.
Public Member Functions |
| MismatchedCharException () |
| MismatchedCharException (int c, int lower, int upper_, bool matchNot, CharScanner *scanner_) |
| MismatchedCharException (int c, int expecting_, bool matchNot, CharScanner *scanner_) |
| MismatchedCharException (int c, BitSet set_, bool matchNot, CharScanner *scanner_) |
| ~MismatchedCharException () throw () |
std::string | getMessage () const |
| 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.
|
Static Public Attributes |
static const int | CHAR = 1 |
static const int | NOT_CHAR = 2 |
static const int | RANGE = 3 |
static const int | NOT_RANGE = 4 |
static const int | SET = 5 |
static const int | NOT_SET = 6 |
Constructor & Destructor Documentation
MismatchedCharException::MismatchedCharException |
( |
| ) |
|
MismatchedCharException::MismatchedCharException |
( |
int |
c, |
|
|
int |
lower, |
|
|
int |
upper_, |
|
|
bool |
matchNot, |
|
|
CharScanner * |
scanner_ |
|
) |
| |
MismatchedCharException::MismatchedCharException |
( |
int |
c, |
|
|
int |
expecting_, |
|
|
bool |
matchNot, |
|
|
CharScanner * |
scanner_ |
|
) |
| |
MismatchedCharException::MismatchedCharException |
( |
int |
c, |
|
|
BitSet |
set_, |
|
|
bool |
matchNot, |
|
|
CharScanner * |
scanner_ |
|
) |
| |
MismatchedCharException::~MismatchedCharException |
( |
| ) |
throw () |
|
inline |
Member Function Documentation
std::string MismatchedCharException::getMessage |
( |
| ) |
const |
Returns a clean error message (no line number/column information)
Member Data Documentation
const int MismatchedCharException::CHAR = 1 |
|
static |
int MismatchedCharException::expecting |
int MismatchedCharException::foundChar |
int MismatchedCharException::mismatchType |
const int MismatchedCharException::NOT_CHAR = 2 |
|
static |
const int MismatchedCharException::NOT_RANGE = 4 |
|
static |
const int MismatchedCharException::NOT_SET = 6 |
|
static |
const int MismatchedCharException::RANGE = 3 |
|
static |
const int MismatchedCharException::SET = 5 |
|
static |
BitSet MismatchedCharException::set |
int MismatchedCharException::upper |
The documentation for this class was generated from the following files: