00001 #ifndef INC_CPTensorConfLexer_hpp_
00002 #define INC_CPTensorConfLexer_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 "CPTensorConfParserTokenTypes.hpp"
00010 #include <antlr/CharScanner.hpp>
00011 #line 1 "CPTensorConf.g"
00012
00013 #include <string>
00014 #include <vector>
00015 #include <iostream>
00016
00017 #line 18 "CPTensorConfLexer.hpp"
00018 class CUSTOM_API CPTensorConfLexer : public antlr::CharScanner, public CPTensorConfParserTokenTypes
00019 {
00020 #line 1 "CPTensorConf.g"
00021 #line 22 "CPTensorConfLexer.hpp"
00022 private:
00023 void initLiterals();
00024 public:
00025 bool getCaseSensitiveLiterals() const
00026 {
00027 return true;
00028 }
00029 public:
00030 CPTensorConfLexer(std::istream& in);
00031 CPTensorConfLexer(antlr::InputBuffer& ib);
00032 CPTensorConfLexer(const antlr::LexerSharedInputState& state);
00033 antlr::RefToken nextToken();
00034 public: void mEQUAL(bool _createToken);
00035 public: void mTRUE(bool _createToken);
00036 public: void mFALSE(bool _createToken);
00037 public: void mWS(bool _createToken);
00038 protected: void mNEWLINE(bool _createToken);
00039 public: void mSTRING(bool _createToken);
00040 protected: void mCHAR(bool _createToken);
00041 protected: void mDIGIT(bool _createToken);
00042 protected: void mOTHER(bool _createToken);
00043 public: void mNUMBER(bool _createToken);
00044 protected: void mREAL(bool _createToken);
00045 protected: void mINT(bool _createToken);
00046 public: void mCOMMENT(bool _createToken);
00047 public: void mSCALEFACTORT(bool _createToken);
00048 public: void mNORMALIZET(bool _createToken);
00049 public: void mWRITETENSORT(bool _createToken);
00050 public: void mWRITESERIALPARALLELT(bool _createToken);
00051 public: void mCALCERRT(bool _createToken);
00052 private:
00053
00054 static const unsigned long _tokenSet_0_data_[];
00055 static const antlr::BitSet _tokenSet_0;
00056 static const unsigned long _tokenSet_1_data_[];
00057 static const antlr::BitSet _tokenSet_1;
00058 };
00059
00060 #endif