KDevelop API Documentation

MismatchedCharException Class Reference

#include <MismatchedCharException.hpp>

Inheritance diagram for MismatchedCharException:

RecognitionException ANTLRException 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
 Returns a clean error message (no line number/column information).


Public Attributes

int mismatchType
int foundChar
int expecting
int upper
BitSet set

Static Public Attributes

const int CHAR = 1
const int NOT_CHAR = 2
const int RANGE = 3
const int NOT_RANGE = 4
const int SET = 5
const int NOT_SET = 6

Protected Attributes

CharScannerscanner

Constructor & Destructor Documentation

MismatchedCharException::MismatchedCharException  ) 
 

Definition at line 16 of file MismatchedCharException.cpp.

MismatchedCharException::MismatchedCharException int  c,
int  lower,
int  upper_,
bool  matchNot,
CharScanner scanner_
 

Definition at line 21 of file MismatchedCharException.cpp.

MismatchedCharException::MismatchedCharException int  c,
int  expecting_,
bool  matchNot,
CharScanner scanner_
 

Definition at line 39 of file MismatchedCharException.cpp.

MismatchedCharException::MismatchedCharException int  c,
BitSet  set_,
bool  matchNot,
CharScanner scanner_
 

Definition at line 55 of file MismatchedCharException.cpp.

MismatchedCharException::~MismatchedCharException  )  throw () [inline]
 

Definition at line 90 of file MismatchedCharException.hpp.


Member Function Documentation

std::string MismatchedCharException::getMessage  )  const [virtual]
 

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

Reimplemented from ANTLRException.

Definition at line 70 of file MismatchedCharException.cpp.

References ANTLR_USE_NAMESPACE, charName(), and ANTLRException::getMessage().


Member Data Documentation

const int MismatchedCharException::CHAR = 1 [static]
 

Definition at line 110 of file MismatchedCharException.cpp.

int MismatchedCharException::expecting
 

Definition at line 50 of file MismatchedCharException.hpp.

int MismatchedCharException::foundChar
 

Definition at line 47 of file MismatchedCharException.hpp.

int MismatchedCharException::mismatchType
 

Definition at line 44 of file MismatchedCharException.hpp.

const int MismatchedCharException::NOT_CHAR = 2 [static]
 

Definition at line 111 of file MismatchedCharException.cpp.

const int MismatchedCharException::NOT_RANGE = 4 [static]
 

Definition at line 113 of file MismatchedCharException.cpp.

const int MismatchedCharException::NOT_SET = 6 [static]
 

Definition at line 115 of file MismatchedCharException.cpp.

const int MismatchedCharException::RANGE = 3 [static]
 

Definition at line 112 of file MismatchedCharException.cpp.

CharScanner* MismatchedCharException::scanner [protected]
 

Definition at line 60 of file MismatchedCharException.hpp.

BitSet MismatchedCharException::set
 

Definition at line 56 of file MismatchedCharException.hpp.

const int MismatchedCharException::SET = 5 [static]
 

Definition at line 114 of file MismatchedCharException.cpp.

int MismatchedCharException::upper
 

Definition at line 53 of file MismatchedCharException.hpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:04 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003