00001 #ifndef INC_ExpressionLexer_hpp_
00002 #define INC_ExpressionLexer_hpp_
00003
00004 #include "antlr/config.hpp"
00005
00006 #include "antlr/CommonToken.hpp"
00007 #include "antlr/InputBuffer.hpp"
00008 #include "antlr/BitSet.hpp"
00009 #include "ExpressionParserTokenTypes.hpp"
00010 #include "antlr/CharScanner.hpp"
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035 #include <string>
00036 #include <map>
00037 #include <list>
00038 #include "UAPNode.hpp"
00039
00046 class ExpressionLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public ExpressionParserTokenTypes
00047 {
00048 private:
00049 void initLiterals();
00050 public:
00051 bool getCaseSensitiveLiterals() const;
00052 public:
00053 ExpressionLexer(ANTLR_USE_NAMESPACE(std)istream& in);
00054 ExpressionLexer(ANTLR_USE_NAMESPACE(antlr)InputBuffer& ib);
00055 ExpressionLexer(const ANTLR_USE_NAMESPACE(antlr)LexerSharedInputState& state);
00056 ANTLR_USE_NAMESPACE(antlr)RefToken nextToken();
00057 public: void mWS_(bool _createToken);
00058 public: void mLPAREN(bool _createToken);
00059 public: void mRPAREN(bool _createToken);
00060 public: void mLBRACKET(bool _createToken);
00061 public: void mRBRACKET(bool _createToken);
00062 public: void mPLUS(bool _createToken);
00063 public: void mMINUS(bool _createToken);
00064 public: void mMULT(bool _createToken);
00065 public: void mDIV(bool _createToken);
00066 public: void mMOD(bool _createToken);
00067 public: void mPOW(bool _createToken);
00068 public: void mCOMMA(bool _createToken);
00069 public: void mCOLON(bool _createToken);
00070 public: void mEQUAL(bool _createToken);
00071 public: void mAT(bool _createToken);
00072 public: void mSEMI(bool _createToken);
00073 public: void mIDENT(bool _createToken);
00074 public: void mNUM_FLOAT(bool _createToken);
00075 public: void mNUM_DOUBLE(bool _createToken);
00076 public: void mSTRING_LITERAL_S(bool _createToken);
00077 protected: void mESC(bool _createToken);
00078 public: void mSTRING_LITERAL_D(bool _createToken);
00079 private:
00080
00081 static const unsigned long _tokenSet_0_data_[];
00082 static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_0;
00083 static const unsigned long _tokenSet_1_data_[];
00084 static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_1;
00085 };
00086
00087 #endif