AdaLexer Class Reference
#include <AdaLexer.hpp>
Inheritance diagram for AdaLexer:

Public Member Functions | |
void | resetErrors () |
unsigned int | numberOfErrors () const |
void | setProblemReporter (ProblemReporter *r) |
void | reportError (const antlr::RecognitionException &ex) |
void | reportError (const std::string &errorMessage) |
void | reportWarning (const std::string &warnMessage) |
bool | getCaseSensitiveLiterals () const |
AdaLexer (std::istream &in) | |
AdaLexer (antlr::InputBuffer &ib) | |
AdaLexer (const antlr::LexerSharedInputState &state) | |
antlr::RefToken | nextToken () |
void | mCOMMENT_INTRO (bool _createToken) |
void | mDOT_DOT (bool _createToken) |
void | mLT_LT (bool _createToken) |
void | mBOX (bool _createToken) |
void | mGT_GT (bool _createToken) |
void | mASSIGN (bool _createToken) |
void | mRIGHT_SHAFT (bool _createToken) |
void | mNE (bool _createToken) |
void | mLE (bool _createToken) |
void | mGE (bool _createToken) |
void | mEXPON (bool _createToken) |
void | mPIPE (bool _createToken) |
void | mCONCAT (bool _createToken) |
void | mDOT (bool _createToken) |
void | mEQ (bool _createToken) |
void | mLT_ (bool _createToken) |
void | mGT (bool _createToken) |
void | mPLUS (bool _createToken) |
void | mMINUS (bool _createToken) |
void | mSTAR (bool _createToken) |
void | mDIV (bool _createToken) |
void | mLPAREN (bool _createToken) |
void | mRPAREN (bool _createToken) |
void | mCOLON (bool _createToken) |
void | mCOMMA (bool _createToken) |
void | mSEMI (bool _createToken) |
void | mTIC (bool _createToken) |
void | mIDENTIFIER (bool _createToken) |
void | mCHARACTER_LITERAL (bool _createToken) |
void | mCHAR_STRING (bool _createToken) |
void | mNUMERIC_LIT (bool _createToken) |
void | mWS_ (bool _createToken) |
void | mCOMMENT (bool _createToken) |
Protected Member Functions | |
void | mDIGIT (bool _createToken) |
void | mBASED_INTEGER (bool _createToken) |
void | mEXPONENT (bool _createToken) |
void | mEXTENDED_DIGIT (bool _createToken) |
Private Member Functions | |
void | initLiterals () |
Private Attributes | |
unsigned int | m_numberOfErrors |
ProblemReporter * | m_problemReporter |
Static Private Attributes | |
const unsigned long | _tokenSet_0_data_ [] = { 4294967288UL, 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_0 |
const unsigned long | _tokenSet_1_data_ [] = { 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_1 |
const unsigned long | _tokenSet_2_data_ [] = { 0UL, 67043328UL, 2147483648UL, 134217726UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_2 |
const unsigned long | _tokenSet_3_data_ [] = { 4294967288UL, 4294967291UL, 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_3 |
const unsigned long | _tokenSet_4_data_ [] = { 0UL, 67059720UL, 2147483648UL, 126UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_4 |
const unsigned long | _tokenSet_5_data_ [] = { 0UL, 67043328UL, 2147483648UL, 126UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_5 |
const unsigned long | _tokenSet_6_data_ [] = { 0UL, 16392UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_6 |
const unsigned long | _tokenSet_7_data_ [] = { 4294958072UL, 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_7 |
Constructor & Destructor Documentation
|
Definition at line 16 of file AdaLexer.cpp. References AdaLexer(), ANTLR_USE_NAMESPACE, and initLiterals(). Referenced by AdaLexer(). |
|
Definition at line 22 of file AdaLexer.cpp. References AdaLexer(), ANTLR_USE_NAMESPACE, and initLiterals(). |
|
Definition at line 28 of file AdaLexer.cpp. References AdaLexer(), ANTLR_USE_NAMESPACE, initLiterals(), and LexerSharedInputState. |
Member Function Documentation
|
Definition at line 27 of file AdaLexer.hpp. |
|
Definition at line 34 of file AdaLexer.cpp. Referenced by AdaLexer(). |
|
Definition at line 446 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mASSIGN(), nullToken, reportError(), and text(). Referenced by mASSIGN(). |
|
Definition at line 1307 of file AdaLexer.cpp. References _tokenSet_5, _tokenSet_6, ANTLR_USE_NAMESPACE, mBASED_INTEGER(), mEXTENDED_DIGIT(), nullToken, reportError(), and text(). Referenced by mBASED_INTEGER(), and mNUMERIC_LIT(). |
|
Definition at line 404 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mBOX(), nullToken, reportError(), and text(). Referenced by mBOX(). |
|
Definition at line 1074 of file AdaLexer.cpp. References _tokenSet_1, _tokenSet_3, ANTLR_USE_NAMESPACE, mCHAR_STRING(), nullToken, reportError(), and text(). Referenced by mCHAR_STRING(). |
|
Definition at line 1049 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mCHARACTER_LITERAL(), nullToken, reportError(), and text(). Referenced by mCHARACTER_LITERAL(). |
|
Definition at line 824 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mCOLON(), nullToken, reportError(), and text(). Referenced by mCOLON(). |
|
Definition at line 845 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mCOMMA(), nullToken, reportError(), and text(). Referenced by mCOMMA(). |
|
Definition at line 1563 of file AdaLexer.cpp. References _tokenSet_1, _tokenSet_7, ANTLR_USE_NAMESPACE, mCOMMENT(), mCOMMENT_INTRO(), nullToken, reportError(), and text(). Referenced by mCOMMENT(). |
|
Definition at line 341 of file AdaLexer.cpp. References _tokenSet_0, ANTLR_USE_NAMESPACE, mCOMMENT_INTRO(), nullToken, reportError(), and text(). Referenced by mCOMMENT(), and mCOMMENT_INTRO(). |
|
Definition at line 593 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mCONCAT(), nullToken, reportError(), and text(). Referenced by mCONCAT(). |
|
Definition at line 1284 of file AdaLexer.cpp. References _tokenSet_4, ANTLR_USE_NAMESPACE, mDIGIT(), nullToken, reportError(), and text(). Referenced by mDIGIT(), mEXPONENT(), mEXTENDED_DIGIT(), and mNUMERIC_LIT(). |
|
Definition at line 761 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mDIV(), nullToken, reportError(), and text(). Referenced by mDIV(). |
|
Definition at line 614 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mDOT(), nullToken, reportError(), and text(). Referenced by mDOT(). |
|
Definition at line 362 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mDOT_DOT(), nullToken, reportError(), and text(). Referenced by mDOT_DOT(). |
|
Definition at line 635 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mEQ(), nullToken, reportError(), and text(). Referenced by mEQ(). |
|
Definition at line 551 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mEXPON(), nullToken, reportError(), and text(). Referenced by mEXPON(). |
|
Definition at line 1374 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mDIGIT(), mEXPONENT(), nullToken, reportError(), and text(). Referenced by mEXPONENT(), and mNUMERIC_LIT(). |
|
Definition at line 1442 of file AdaLexer.cpp. References _tokenSet_4, ANTLR_USE_NAMESPACE, mDIGIT(), mEXTENDED_DIGIT(), nullToken, reportError(), and text(). Referenced by mBASED_INTEGER(), and mEXTENDED_DIGIT(). |
|
Definition at line 530 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mGE(), nullToken, reportError(), and text(). Referenced by mGE(). |
|
Definition at line 677 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mGT(), nullToken, reportError(), and text(). Referenced by mGT(). |
|
Definition at line 425 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mGT_GT(), nullToken, reportError(), and text(). Referenced by mGT_GT(). |
|
Definition at line 910 of file AdaLexer.cpp. References _tokenSet_1, _tokenSet_2, ANTLR_USE_NAMESPACE, mIDENTIFIER(), nullToken, reportError(), and text(). Referenced by mIDENTIFIER(). |
|
Definition at line 509 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mLE(), nullToken, reportError(), and text(). Referenced by mLE(). |
|
Definition at line 782 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mLPAREN(), nullToken, reportError(), and text(). Referenced by mLPAREN(). |
|
Definition at line 656 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mLT_(), nullToken, reportError(), and text(). Referenced by mLT_(). |
|
Definition at line 383 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mLT_LT(), nullToken, reportError(), and text(). Referenced by mLT_LT(). |
|
Definition at line 719 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mMINUS(), nullToken, reportError(), and text(). Referenced by mMINUS(). |
|
Definition at line 488 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mNE(), nullToken, reportError(), and text(). Referenced by mNE(). |
|
Definition at line 1113 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mBASED_INTEGER(), mDIGIT(), mEXPONENT(), mNUMERIC_LIT(), nullToken, reportError(), and text(). Referenced by mNUMERIC_LIT(). |
|
Definition at line 572 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mPIPE(), nullToken, reportError(), and text(). Referenced by mPIPE(). |
|
Definition at line 698 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mPLUS(), nullToken, reportError(), and text(). Referenced by mPLUS(). |
|
Definition at line 467 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mRIGHT_SHAFT(), nullToken, reportError(), and text(). Referenced by mRIGHT_SHAFT(). |
|
Definition at line 803 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mRPAREN(), nullToken, reportError(), and text(). Referenced by mRPAREN(). |
|
Definition at line 866 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mSEMI(), nullToken, reportError(), and text(). Referenced by mSEMI(). |
|
Definition at line 740 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mSTAR(), nullToken, reportError(), and text(). Referenced by mSTAR(). |
|
Definition at line 887 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mTIC(), nullToken, reportError(), and text(). Referenced by mTIC(). |
|
Definition at line 1494 of file AdaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mWS_(), nullToken, reportError(), and text(). Referenced by mWS_(). |
|
Definition at line 107 of file AdaLexer.cpp. References ANTLR_USE_NAMESPACE, and RefToken. |
|
Definition at line 22 of file AdaLexer.hpp. Referenced by AdaSupportPart::parse(), and AdaSupportPart::parseContents(). |
|
Definition at line 22 of file AdaLexer.hpp. |
|
Definition at line 22 of file AdaLexer.hpp. Referenced by mASSIGN(), mBASED_INTEGER(), mBOX(), mCHAR_STRING(), mCHARACTER_LITERAL(), mCOLON(), mCOMMA(), mCOMMENT(), mCOMMENT_INTRO(), mCONCAT(), mDIGIT(), mDIV(), mDOT(), mDOT_DOT(), mEQ(), mEXPON(), mEXPONENT(), mEXTENDED_DIGIT(), mGE(), mGT(), mGT_GT(), mIDENTIFIER(), mLE(), mLPAREN(), mLT_(), mLT_LT(), mMINUS(), mNE(), mNUMERIC_LIT(), mPIPE(), mPLUS(), mRIGHT_SHAFT(), mRPAREN(), mSEMI(), mSTAR(), mTIC(), and mWS_(). |
|
Definition at line 22 of file AdaLexer.hpp. |
|
Definition at line 22 of file AdaLexer.hpp. Referenced by AdaSupportPart::parse(), AdaSupportPart::parseContents(), and BackgroundParser::run(). |
|
Definition at line 22 of file AdaLexer.hpp. References ANTLR_LEXER_PREAMBLE. Referenced by AdaSupportPart::parse(), AdaSupportPart::parseContents(), and BackgroundParser::run(). |
Member Data Documentation
|
Referenced by mCOMMENT_INTRO(). |
|
Definition at line 1630 of file AdaLexer.cpp. |
|
Referenced by mASSIGN(), mBOX(), mCHAR_STRING(), mCHARACTER_LITERAL(), mCOLON(), mCOMMA(), mCOMMENT(), mCONCAT(), mDIV(), mDOT(), mDOT_DOT(), mEQ(), mEXPON(), mEXPONENT(), mGE(), mGT(), mGT_GT(), mIDENTIFIER(), mLE(), mLPAREN(), mLT_(), mLT_LT(), mMINUS(), mNE(), mNUMERIC_LIT(), mPIPE(), mPLUS(), mRIGHT_SHAFT(), mRPAREN(), mSEMI(), mSTAR(), mTIC(), and mWS_(). |
|
Definition at line 1682 of file AdaLexer.cpp. |
|
Referenced by mIDENTIFIER(). |
|
Definition at line 1684 of file AdaLexer.cpp. |
|
Referenced by mCHAR_STRING(). |
|
Definition at line 1693 of file AdaLexer.cpp. |
|
Referenced by mDIGIT(), and mEXTENDED_DIGIT(). |
|
Definition at line 1745 of file AdaLexer.cpp. |
|
Referenced by mBASED_INTEGER(). |
|
Definition at line 1749 of file AdaLexer.cpp. |
|
Referenced by mBASED_INTEGER(). |
|
Definition at line 1753 of file AdaLexer.cpp. |
|
Referenced by mCOMMENT(). |
|
Definition at line 1756 of file AdaLexer.cpp. |
|
Definition at line 22 of file AdaLexer.hpp. |
|
Definition at line 22 of file AdaLexer.hpp. |
The documentation for this class was generated from the following files:
- languages/ada/AdaLexer.hpp
- languages/ada/AdaLexer.cpp