00001 #ifndef INC_StationLexer_hpp_
00002 #define INC_StationLexer_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 "StationParserTokenTypes.hpp"
00010 #include <antlr/CharScanner.hpp>
00011 #line 1 "StationParser.g"
00012
00013 #include <iostream>
00014 #include <iomanip>
00015 #include <string>
00016 #include "types.h"
00017
00018 #line 19 "StationLexer.hpp"
00019 class CUSTOM_API StationLexer : public antlr::CharScanner, public StationParserTokenTypes
00020 {
00021 #line 1 "StationParser.g"
00022 #line 23 "StationLexer.hpp"
00023 private:
00024 void initLiterals();
00025 public:
00026 bool getCaseSensitiveLiterals() const
00027 {
00028 return true;
00029 }
00030 public:
00031 StationLexer(std::istream& in);
00032 StationLexer(antlr::InputBuffer& ib);
00033 StationLexer(const antlr::LexerSharedInputState& state);
00034 antlr::RefToken nextToken();
00035 public: void mWS(bool _createToken);
00036 public: void mENTRY(bool _createToken);
00037 protected: void mPLUS(bool _createToken);
00038 protected: void mMINUS(bool _createToken);
00039 protected: void mCHAR(bool _createToken);
00040 protected: void mDIGIT(bool _createToken);
00041 protected: void mOTHER(bool _createToken);
00042 public: void mCOMMENT(bool _createToken);
00043 public: void mNEWLINE(bool _createToken);
00044 private:
00045
00046 static const unsigned long _tokenSet_0_data_[];
00047 static const antlr::BitSet _tokenSet_0;
00048 };
00049
00050 #endif