CLmsConfigParser.hpp

Go to the documentation of this file.
00001 #ifndef INC_CLmsConfigParser_hpp_
00002 #define INC_CLmsConfigParser_hpp_
00003 
00004 #include <antlr/config.hpp>
00005 /* $ANTLR 2.7.6 (20070220): "CLmsConfig.g" -> "CLmsConfigParser.hpp"$ */
00006 #include <antlr/TokenStream.hpp>
00007 #include <antlr/TokenBuffer.hpp>
00008 #include "CLmsConfigParserTokenTypes.hpp"
00009 #include <antlr/LLkParser.hpp>
00010 
00011 #line 1 "CLmsConfig.g"
00012 
00013         #include <string>
00014         #include <vector>
00015         #include <iostream>
00016 
00017 #line 18 "CLmsConfigParser.hpp"
00018 class CUSTOM_API CLmsConfigParser : public antlr::LLkParser, public CLmsConfigParserTokenTypes
00019 {
00020 #line 20 "CLmsConfig.g"
00021 
00022 private: 
00023 int i; double dtemp; int itemp; std::string stemp; bool btemp;
00024 public: 
00025 double mu;
00026 int filterlength;
00027 int shift;
00028 double secfactor;
00029 #line 22 "CLmsConfigParser.hpp"
00030 public:
00031         void initializeASTFactory( antlr::ASTFactory& factory );
00032 protected:
00033         CLmsConfigParser(antlr::TokenBuffer& tokenBuf, int k);
00034 public:
00035         CLmsConfigParser(antlr::TokenBuffer& tokenBuf);
00036 protected:
00037         CLmsConfigParser(antlr::TokenStream& lexer, int k);
00038 public:
00039         CLmsConfigParser(antlr::TokenStream& lexer);
00040         CLmsConfigParser(const antlr::ParserSharedInputState& state);
00041         int getNumTokens() const
00042         {
00043                 return CLmsConfigParser::NUM_TOKENS;
00044         }
00045         const char* getTokenName( int type ) const
00046         {
00047                 if( type > getNumTokens() ) return 0;
00048                 return CLmsConfigParser::tokenNames[type];
00049         }
00050         const char* const* getTokenNames() const
00051         {
00052                 return CLmsConfigParser::tokenNames;
00053         }
00054         public: void configentry();
00055         public: double  numvalue();
00056         public: void configfile();
00057         public: bool  boolvalue();
00058         public: std::string  stringvalue();
00059 public:
00060         antlr::RefAST getAST()
00061         {
00062                 return returnAST;
00063         }
00064         
00065 protected:
00066         antlr::RefAST returnAST;
00067 private:
00068         static const char* tokenNames[];
00069 #ifndef NO_STATIC_CONSTS
00070         static const int NUM_TOKENS = 21;
00071 #else
00072         enum {
00073                 NUM_TOKENS = 21
00074         };
00075 #endif
00076         
00077         static const unsigned long _tokenSet_0_data_[];
00078         static const antlr::BitSet _tokenSet_0;
00079         static const unsigned long _tokenSet_1_data_[];
00080         static const antlr::BitSet _tokenSet_1;
00081         static const unsigned long _tokenSet_2_data_[];
00082         static const antlr::BitSet _tokenSet_2;
00083         static const unsigned long _tokenSet_3_data_[];
00084         static const antlr::BitSet _tokenSet_3;
00085         static const unsigned long _tokenSet_4_data_[];
00086         static const antlr::BitSet _tokenSet_4;
00087         static const unsigned long _tokenSet_5_data_[];
00088         static const antlr::BitSet _tokenSet_5;
00089         static const unsigned long _tokenSet_6_data_[];
00090         static const antlr::BitSet _tokenSet_6;
00091 };
00092 
00093 #endif /*INC_CLmsConfigParser_hpp_*/

Generated on Thu Nov 22 13:58:25 2007 for GPLIB++ by  doxygen 1.5.1