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

Public Member Functions | |
void | setDriver (Driver *d) |
void | setFileName (const QString &fileName) |
virtual void | reportError (const antlr::RecognitionException &ex) |
virtual void | reportError (const std::string &errorMessage) |
virtual void | reportWarning (const std::string &warnMessage) |
bool | getCaseSensitiveLiterals () const |
JavaLexer (std::istream &in) | |
JavaLexer (antlr::InputBuffer &ib) | |
JavaLexer (const antlr::LexerSharedInputState &state) | |
antlr::RefToken | nextToken () |
void | mQUESTION (bool _createToken) |
void | mLPAREN (bool _createToken) |
void | mRPAREN (bool _createToken) |
void | mLBRACK (bool _createToken) |
void | mRBRACK (bool _createToken) |
void | mLCURLY (bool _createToken) |
void | mRCURLY (bool _createToken) |
void | mCOLON (bool _createToken) |
void | mCOMMA (bool _createToken) |
void | mASSIGN (bool _createToken) |
void | mEQUAL (bool _createToken) |
void | mLNOT (bool _createToken) |
void | mBNOT (bool _createToken) |
void | mNOT_EQUAL (bool _createToken) |
void | mDIV (bool _createToken) |
void | mDIV_ASSIGN (bool _createToken) |
void | mPLUS (bool _createToken) |
void | mPLUS_ASSIGN (bool _createToken) |
void | mINC (bool _createToken) |
void | mMINUS (bool _createToken) |
void | mMINUS_ASSIGN (bool _createToken) |
void | mDEC (bool _createToken) |
void | mSTAR (bool _createToken) |
void | mSTAR_ASSIGN (bool _createToken) |
void | mMOD (bool _createToken) |
void | mMOD_ASSIGN (bool _createToken) |
void | mSR (bool _createToken) |
void | mSR_ASSIGN (bool _createToken) |
void | mBSR (bool _createToken) |
void | mBSR_ASSIGN (bool _createToken) |
void | mGE (bool _createToken) |
void | mGT (bool _createToken) |
void | mSL (bool _createToken) |
void | mSL_ASSIGN (bool _createToken) |
void | mLE (bool _createToken) |
void | mLT_ (bool _createToken) |
void | mBXOR (bool _createToken) |
void | mBXOR_ASSIGN (bool _createToken) |
void | mBOR (bool _createToken) |
void | mBOR_ASSIGN (bool _createToken) |
void | mLOR (bool _createToken) |
void | mBAND (bool _createToken) |
void | mBAND_ASSIGN (bool _createToken) |
void | mLAND (bool _createToken) |
void | mSEMI (bool _createToken) |
void | mWS (bool _createToken) |
void | mSL_COMMENT (bool _createToken) |
void | mML_COMMENT (bool _createToken) |
void | mCHAR_LITERAL (bool _createToken) |
void | mSTRING_LITERAL (bool _createToken) |
void | mIDENT (bool _createToken) |
void | mNUM_INT (bool _createToken) |
Protected Member Functions | |
void | mESC (bool _createToken) |
void | mHEX_DIGIT (bool _createToken) |
void | mVOCAB (bool _createToken) |
void | mEXPONENT (bool _createToken) |
void | mFLOAT_SUFFIX (bool _createToken) |
Private Member Functions | |
void | initLiterals () |
Private Attributes | |
Driver * | m_driver |
Static Private Attributes | |
const unsigned long | _tokenSet_0_data_ [] = { 4294958072UL, 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_ [] = { 4294958072UL, 4294966271UL, 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_1 |
const unsigned long | _tokenSet_2_data_ [] = { 4294967288UL, 4294967167UL, 4026531839UL, 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 4294967295UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_2 |
const unsigned long | _tokenSet_3_data_ [] = { 4294967288UL, 4294967291UL, 4026531839UL, 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, 67043328UL, 126UL, 126UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_4 |
Constructor & Destructor Documentation
|
Definition at line 16 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, initLiterals(), and JavaLexer(). Referenced by JavaLexer(). |
|
Definition at line 22 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, initLiterals(), and JavaLexer(). |
|
Definition at line 28 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, initLiterals(), JavaLexer(), and LexerSharedInputState. |
Member Function Documentation
|
Definition at line 52 of file JavaLexer.hpp. |
|
Definition at line 34 of file JavaLexer.cpp. Referenced by JavaLexer(). |
|
Definition at line 560 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mASSIGN(), nullToken, and text(). Referenced by mASSIGN(). |
|
Definition at line 1008 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mBAND(), nullToken, and text(). Referenced by mBAND(). |
|
Definition at line 1022 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mBAND_ASSIGN(), nullToken, and text(). Referenced by mBAND_ASSIGN(). |
|
Definition at line 602 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mBNOT(), nullToken, and text(). Referenced by mBNOT(). |
|
Definition at line 966 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mBOR(), nullToken, and text(). Referenced by mBOR(). |
|
Definition at line 980 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mBOR_ASSIGN(), nullToken, and text(). Referenced by mBOR_ASSIGN(). |
|
Definition at line 826 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mBSR(), nullToken, and text(). Referenced by mBSR(). |
|
Definition at line 840 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mBSR_ASSIGN(), nullToken, and text(). Referenced by mBSR_ASSIGN(). |
|
Definition at line 938 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mBXOR(), nullToken, and text(). Referenced by mBXOR(). |
|
Definition at line 952 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mBXOR_ASSIGN(), nullToken, and text(). Referenced by mBXOR_ASSIGN(). |
|
Definition at line 1245 of file JavaLexer.cpp. References _tokenSet_2, ANTLR_USE_NAMESPACE, mCHAR_LITERAL(), mESC(), nullToken, and text(). Referenced by mCHAR_LITERAL(). |
|
Definition at line 532 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mCOLON(), nullToken, and text(). Referenced by mCOLON(). |
|
Definition at line 546 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mCOMMA(), nullToken, and text(). Referenced by mCOMMA(). |
|
Definition at line 728 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mDEC(), nullToken, and text(). Referenced by mDEC(). |
|
Definition at line 630 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mDIV(), nullToken, and text(). Referenced by mDIV(). |
|
Definition at line 644 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mDIV_ASSIGN(), nullToken, and text(). Referenced by mDIV_ASSIGN(). |
|
Definition at line 574 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mEQUAL(), nullToken, and text(). Referenced by mEQUAL(). |
|
Definition at line 1272 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mESC(), mHEX_DIGIT(), nullToken, and text(). Referenced by mCHAR_LITERAL(), mESC(), and mSTRING_LITERAL(). |
|
Definition at line 2028 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mEXPONENT(), nullToken, and text(). Referenced by mEXPONENT(), and mNUM_INT(). |
|
Definition at line 2104 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mFLOAT_SUFFIX(), nullToken, and text(). Referenced by mFLOAT_SUFFIX(), and mNUM_INT(). |
|
Definition at line 854 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mGE(), nullToken, and text(). Referenced by mGE(). |
|
Definition at line 868 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mGT(), nullToken, and text(). Referenced by mGT(). |
|
Definition at line 1437 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mHEX_DIGIT(), nullToken, and text(). Referenced by mESC(), mHEX_DIGIT(), and mNUM_INT(). |
|
Definition at line 1506 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mIDENT(), nullToken, and text(). Referenced by mIDENT(). |
|
Definition at line 686 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mINC(), nullToken, and text(). Referenced by mINC(). |
|
Definition at line 1036 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mLAND(), nullToken, and text(). Referenced by mLAND(). |
|
Definition at line 476 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mLBRACK(), nullToken, and text(). Referenced by mLBRACK(). |
|
Definition at line 504 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mLCURLY(), nullToken, and text(). Referenced by mLCURLY(). |
|
Definition at line 910 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mLE(), nullToken, and text(). Referenced by mLE(). |
|
Definition at line 588 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mLNOT(), nullToken, and text(). Referenced by mLNOT(). |
|
Definition at line 994 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mLOR(), nullToken, and text(). Referenced by mLOR(). |
|
Definition at line 448 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mLPAREN(), nullToken, and text(). Referenced by mLPAREN(). |
|
Definition at line 924 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mLT_(), nullToken, and text(). Referenced by mLT_(). |
|
Definition at line 700 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mMINUS(), nullToken, and text(). Referenced by mMINUS(). |
|
Definition at line 714 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mMINUS_ASSIGN(), nullToken, and text(). Referenced by mMINUS_ASSIGN(). |
|
Definition at line 1191 of file JavaLexer.cpp. References _tokenSet_1, ANTLR_USE_NAMESPACE, mML_COMMENT(), nullToken, and text(). Referenced by mML_COMMENT(). |
|
Definition at line 770 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mMOD(), nullToken, and text(). Referenced by mMOD(). |
|
Definition at line 784 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mMOD_ASSIGN(), nullToken, and text(). Referenced by mMOD_ASSIGN(). |
|
Definition at line 616 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mNOT_EQUAL(), nullToken, and text(). Referenced by mNOT_EQUAL(). |
|
Definition at line 1693 of file JavaLexer.cpp. References _tokenSet_4, ANTLR_USE_NAMESPACE, mEXPONENT(), mFLOAT_SUFFIX(), mHEX_DIGIT(), mNUM_INT(), nullToken, and text(). Referenced by mNUM_INT(). |
|
Definition at line 658 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mPLUS(), nullToken, and text(). Referenced by mPLUS(). |
|
Definition at line 672 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mPLUS_ASSIGN(), nullToken, and text(). Referenced by mPLUS_ASSIGN(). |
|
Definition at line 434 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mQUESTION(), nullToken, and text(). Referenced by mQUESTION(). |
|
Definition at line 490 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mRBRACK(), nullToken, and text(). Referenced by mRBRACK(). |
|
Definition at line 518 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mRCURLY(), nullToken, and text(). Referenced by mRCURLY(). |
|
Definition at line 462 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mRPAREN(), nullToken, and text(). Referenced by mRPAREN(). |
|
Definition at line 1050 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mSEMI(), nullToken, and text(). Referenced by mSEMI(). |
|
Definition at line 882 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mSL(), nullToken, and text(). Referenced by mSL(). |
|
Definition at line 896 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mSL_ASSIGN(), nullToken, and text(). Referenced by mSL_ASSIGN(). |
|
Definition at line 1131 of file JavaLexer.cpp. References _tokenSet_0, ANTLR_USE_NAMESPACE, mSL_COMMENT(), nullToken, and text(). Referenced by mSL_COMMENT(). |
|
Definition at line 798 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mSR(), nullToken, and text(). Referenced by mSR(). |
|
Definition at line 812 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mSR_ASSIGN(), nullToken, and text(). Referenced by mSR_ASSIGN(). |
|
Definition at line 742 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mSTAR(), nullToken, and text(). Referenced by mSTAR(). |
|
Definition at line 756 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mSTAR_ASSIGN(), nullToken, and text(). Referenced by mSTAR_ASSIGN(). |
|
Definition at line 1405 of file JavaLexer.cpp. References _tokenSet_3, ANTLR_USE_NAMESPACE, mESC(), mSTRING_LITERAL(), nullToken, and text(). Referenced by mSTRING_LITERAL(). |
|
Definition at line 1492 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mVOCAB(), nullToken, and text(). Referenced by mVOCAB(). |
|
Definition at line 1064 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, mWS(), nullToken, and text(). Referenced by mWS(). |
|
Definition at line 88 of file JavaLexer.cpp. References ANTLR_USE_NAMESPACE, and RefToken. |
|
Definition at line 41 of file JavaLexer.hpp. References Driver::addProblem(), Driver::currentFileName(), and m_driver. |
|
Definition at line 37 of file JavaLexer.hpp. References Driver::addProblem(), Driver::currentFileName(), m_driver, and reportError(). Referenced by reportError(). |
|
Definition at line 45 of file JavaLexer.hpp. References Driver::addProblem(), Driver::currentFileName(), m_driver, and reportWarning(). Referenced by reportWarning(). |
|
Definition at line 34 of file JavaLexer.hpp. References m_driver, and setDriver(). Referenced by setDriver(). |
|
Definition at line 35 of file JavaLexer.hpp. References Driver::currentFileName(), m_driver, and setFileName(). Referenced by setFileName(). |
Member Data Documentation
|
Referenced by mSL_COMMENT(). |
|
Definition at line 2144 of file JavaLexer.cpp. |
|
Referenced by mML_COMMENT(). |
|
Definition at line 2164 of file JavaLexer.cpp. |
|
Referenced by mCHAR_LITERAL(). |
|
Definition at line 2184 of file JavaLexer.cpp. |
|
Referenced by mSTRING_LITERAL(). |
|
Definition at line 2204 of file JavaLexer.cpp. |
|
Referenced by mNUM_INT(). |
|
Definition at line 2224 of file JavaLexer.cpp. |
|
Definition at line 31 of file JavaLexer.hpp. Referenced by reportError(), reportWarning(), setDriver(), and setFileName(). |
The documentation for this class was generated from the following files:
- languages/java/JavaLexer.hpp
- languages/java/JavaLexer.cpp