00001 #ifndef INC_EDILexer_hpp_
00002 #define INC_EDILexer_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 "EDIParserTokenTypes.hpp"
00010 #include <antlr/CharScanner.hpp>
00011 #line 1 "EdiParser2.g"
00012
00013 #include <iostream>
00014 #include "types.h"
00015 #include "CMTDataComp.h"
00016 #include "convert.h"
00017 #include <complex>
00018
00019 #line 20 "EDILexer.hpp"
00020 class CUSTOM_API EDILexer : public antlr::CharScanner, public EDIParserTokenTypes
00021 {
00022 #line 1 "EdiParser2.g"
00023 #line 24 "EDILexer.hpp"
00024 private:
00025 void initLiterals();
00026 public:
00027 bool getCaseSensitiveLiterals() const
00028 {
00029 return true;
00030 }
00031 public:
00032 EDILexer(std::istream& in);
00033 EDILexer(antlr::InputBuffer& ib);
00034 EDILexer(const antlr::LexerSharedInputState& state);
00035 antlr::RefToken nextToken();
00036 public: void mHEAD(bool _createToken);
00037 public: void mKEYWORD(bool _createToken);
00038 public: void mSPECIAL(bool _createToken);
00039 public: void mSTRING(bool _createToken);
00040 public: void mWS(bool _createToken);
00041 public: void mEQUAL(bool _createToken);
00042 public: void mSLASH(bool _createToken);
00043 public: void mEXKL(bool _createToken);
00044 public: void mCOLON(bool _createToken);
00045 public: void mCOMMENT(bool _createToken);
00046 public: void mNUMBER(bool _createToken);
00047 protected: void mREAL(bool _createToken);
00048 protected: void mINT(bool _createToken);
00049 protected: void mLETTER(bool _createToken);
00050 protected: void mLEGAL_CHAR(bool _createToken);
00051 public: void mDATE(bool _createToken);
00052 public: void mDIGIT(bool _createToken);
00053 public: void mOTHER(bool _createToken);
00054 protected: void mSIGN(bool _createToken);
00055 private:
00056
00057 static const unsigned long _tokenSet_0_data_[];
00058 static const antlr::BitSet _tokenSet_0;
00059 static const unsigned long _tokenSet_1_data_[];
00060 static const antlr::BitSet _tokenSet_1;
00061 static const unsigned long _tokenSet_2_data_[];
00062 static const antlr::BitSet _tokenSet_2;
00063 static const unsigned long _tokenSet_3_data_[];
00064 static const antlr::BitSet _tokenSet_3;
00065 static const unsigned long _tokenSet_4_data_[];
00066 static const antlr::BitSet _tokenSet_4;
00067 static const unsigned long _tokenSet_5_data_[];
00068 static const antlr::BitSet _tokenSet_5;
00069 };
00070
00071 #endif