OpenMD 3.0
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
antlr::MismatchedCharException Class Reference
+ Inheritance diagram for antlr::MismatchedCharException:

Public Member Functions

 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_)
 
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

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
 
- Protected Attributes inherited from antlr::RecognitionException
std::string fileName
 
int line
 
int column
 

Detailed Description

Definition at line 21 of file MismatchedCharException.hpp.

Constructor & Destructor Documentation

◆ MismatchedCharException() [1/4]

antlr::MismatchedCharException::MismatchedCharException ( )

Definition at line 16 of file MismatchedCharException.cpp.

◆ MismatchedCharException() [2/4]

antlr::MismatchedCharException::MismatchedCharException ( int c,
int lower,
int upper_,
bool matchNot,
CharScanner * scanner_ )

Definition at line 21 of file MismatchedCharException.cpp.

◆ MismatchedCharException() [3/4]

antlr::MismatchedCharException::MismatchedCharException ( int c,
int expecting_,
bool matchNot,
CharScanner * scanner_ )

Definition at line 39 of file MismatchedCharException.cpp.

◆ MismatchedCharException() [4/4]

antlr::MismatchedCharException::MismatchedCharException ( int c,
BitSet set_,
bool matchNot,
CharScanner * scanner_ )

Definition at line 55 of file MismatchedCharException.cpp.

◆ ~MismatchedCharException()

antlr::MismatchedCharException::~MismatchedCharException ( )
throw ( )
inline

Definition at line 90 of file MismatchedCharException.hpp.

Member Function Documentation

◆ getMessage()

std::string antlr::MismatchedCharException::getMessage ( ) const
virtual

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

Reimplemented from antlr::ANTLRException.

Definition at line 70 of file MismatchedCharException.cpp.

Member Data Documentation

◆ CHAR

const int antlr::MismatchedCharException::CHAR = 1
static

Definition at line 25 of file MismatchedCharException.hpp.

◆ expecting

int antlr::MismatchedCharException::expecting

Definition at line 50 of file MismatchedCharException.hpp.

◆ foundChar

int antlr::MismatchedCharException::foundChar

Definition at line 47 of file MismatchedCharException.hpp.

◆ mismatchType

int antlr::MismatchedCharException::mismatchType

Definition at line 44 of file MismatchedCharException.hpp.

◆ NOT_CHAR

const int antlr::MismatchedCharException::NOT_CHAR = 2
static

Definition at line 26 of file MismatchedCharException.hpp.

◆ NOT_RANGE

const int antlr::MismatchedCharException::NOT_RANGE = 4
static

Definition at line 28 of file MismatchedCharException.hpp.

◆ NOT_SET

const int antlr::MismatchedCharException::NOT_SET = 6
static

Definition at line 30 of file MismatchedCharException.hpp.

◆ RANGE

const int antlr::MismatchedCharException::RANGE = 3
static

Definition at line 27 of file MismatchedCharException.hpp.

◆ scanner

CharScanner* antlr::MismatchedCharException::scanner
protected

Definition at line 60 of file MismatchedCharException.hpp.

◆ SET

const int antlr::MismatchedCharException::SET = 5
static

Definition at line 29 of file MismatchedCharException.hpp.

◆ set

BitSet antlr::MismatchedCharException::set

Definition at line 56 of file MismatchedCharException.hpp.

◆ upper

int antlr::MismatchedCharException::upper

Definition at line 53 of file MismatchedCharException.hpp.


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