MismatchedCharException Class Reference

#include <MismatchedCharException.hpp>

Inheritance diagram for MismatchedCharException:

Inheritance graph
[legend]
Collaboration diagram for MismatchedCharException:

Collaboration graph
[legend]

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 ()
 ANTLR_USE_NAMESPACE (std) string getMessage() const

Data Fields

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

CharScannerscanner

Detailed Description

Definition at line 21 of file MismatchedCharException.hpp.


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]

Definition at line 90 of file MismatchedCharException.hpp.


Member Function Documentation

MismatchedCharException::ANTLR_USE_NAMESPACE ( std   )  const [virtual]

Returns a clean error message (no line number/column information)

Reimplemented from RecognitionException.


Field Documentation

const int MismatchedCharException::CHAR = 1 [static]

Definition at line 25 of file MismatchedCharException.hpp.

const int MismatchedCharException::NOT_CHAR = 2 [static]

Definition at line 26 of file MismatchedCharException.hpp.

const int MismatchedCharException::RANGE = 3 [static]

Definition at line 27 of file MismatchedCharException.hpp.

const int MismatchedCharException::NOT_RANGE = 4 [static]

Definition at line 28 of file MismatchedCharException.hpp.

const int MismatchedCharException::SET = 5 [static]

Definition at line 29 of file MismatchedCharException.hpp.

const int MismatchedCharException::NOT_SET = 6 [static]

Definition at line 30 of file MismatchedCharException.hpp.

Definition at line 44 of file MismatchedCharException.hpp.

Definition at line 47 of file MismatchedCharException.hpp.

Definition at line 50 of file MismatchedCharException.hpp.

Definition at line 53 of file MismatchedCharException.hpp.

Definition at line 56 of file MismatchedCharException.hpp.

Definition at line 60 of file MismatchedCharException.hpp.


The documentation for this class was generated from the following file:

Generated on Tue Mar 31 20:19:28 2009 for ctrump by  doxygen 1.5.6