ANTLR Support Libraries 2.7.1+
Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes

MismatchedCharException Class Reference

#include <MismatchedCharException.hpp>

Collaboration diagram for MismatchedCharException:
Collaboration graph
[legend]

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

Public Attributes

int mismatchType
int foundChar
int expecting
int upper
BitSet set

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

Protected Attributes

CharScanner * scanner

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]
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]
CharScanner* MismatchedCharException::scanner [protected]
const int MismatchedCharException::SET = 5 [static]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines