Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

QueryLexer.hpp

Go to the documentation of this file.
00001 #ifndef INC_QueryLexer_hpp_
00002 #define INC_QueryLexer_hpp_
00003 
00004 #line 55 "indrilang.g"
00005 
00006   #include "indri/QuerySpec.hpp"
00007   #include "indri/DateParse.hpp"
00008   #include "indri/delete_range.hpp"
00009   #include "indri/PriorFactory.hpp"
00010   #include "indri/QueryLexer.hpp"
00011 
00012 #line 13 "QueryLexer.hpp"
00013 #include <antlr/config.hpp>
00014 /* $ANTLR 2.7.4: "indrilang.g" -> "QueryLexer.hpp"$ */
00015 #include <antlr/CommonToken.hpp>
00016 #include <antlr/InputBuffer.hpp>
00017 #include <antlr/BitSet.hpp>
00018 #include "QueryLexerTokenTypes.hpp"
00019 #include <antlr/CharScanner.hpp>
00020 ANTLR_BEGIN_NAMESPACE(indri)
00021 ANTLR_BEGIN_NAMESPACE(lang)
00022 class CUSTOM_API QueryLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public QueryLexerTokenTypes
00023 {
00024 #line 107 "indrilang.g"
00025 
00026 private:
00027   bool _numbers;
00028 
00029 public:
00030   void init() {
00031     _numbers = false;
00032   }
00033 
00034   void setNumbers(bool f) {
00035     _numbers = f;
00036   } 
00037 #line 24 "QueryLexer.hpp"
00038 private:
00039         void initLiterals();
00040 public:
00041         bool getCaseSensitiveLiterals() const
00042         {
00043                 return true;
00044         }
00045 public:
00046         QueryLexer(ANTLR_USE_NAMESPACE(std)istream& in);
00047         QueryLexer(ANTLR_USE_NAMESPACE(antlr)InputBuffer& ib);
00048         QueryLexer(const ANTLR_USE_NAMESPACE(antlr)LexerSharedInputState& state);
00049         ANTLR_USE_NAMESPACE(antlr)RefToken nextToken();
00050         public: void mSTAR(bool _createToken);
00051         public: void mO_PAREN(bool _createToken);
00052         public: void mC_PAREN(bool _createToken);
00053         public: void mO_ANGLE(bool _createToken);
00054         public: void mC_ANGLE(bool _createToken);
00055         public: void mO_SQUARE(bool _createToken);
00056         public: void mC_SQUARE(bool _createToken);
00057         public: void mDBL_QUOTE(bool _createToken);
00058         public: void mQUOTE(bool _createToken);
00059         public: void mDOT(bool _createToken);
00060         public: void mCOMMA(bool _createToken);
00061         public: void mDASH(bool _createToken);
00062         public: void mCOLON(bool _createToken);
00063         protected: void mTAB(bool _createToken);
00064         protected: void mCR(bool _createToken);
00065         protected: void mLF(bool _createToken);
00066         protected: void mSPACE(bool _createToken);
00067         protected: void mHIGH_CHAR(bool _createToken);
00068         protected: void mASCII_LETTER(bool _createToken);
00069         protected: void mASCII_LETTER_NO_B(bool _createToken);
00070         protected: void mSAFE_CHAR(bool _createToken);
00071         protected: void mBASESIXFOUR_CHAR(bool _createToken);
00072         protected: void mTEXT_TERM(bool _createToken);
00073         protected: void mNUMBER(bool _createToken);
00074         protected: void mFLOAT(bool _createToken);
00075         public: void mTERM(bool _createToken);
00076         protected: void mENCODED_QUOTED_TERM(bool _createToken);
00077         protected: void mENCODED_TERM(bool _createToken);
00078         public: void mOPERATOR(bool _createToken);
00079         public: void mJUNK(bool _createToken);
00080 private:
00081         
00082         static const unsigned long _tokenSet_0_data_[];
00083         static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_0;
00084         static const unsigned long _tokenSet_1_data_[];
00085         static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_1;
00086         static const unsigned long _tokenSet_2_data_[];
00087         static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_2;
00088         static const unsigned long _tokenSet_3_data_[];
00089         static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_3;
00090         static const unsigned long _tokenSet_4_data_[];
00091         static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_4;
00092 };
00093 
00094 ANTLR_END_NAMESPACE
00095 ANTLR_END_NAMESPACE
00096 #endif /*INC_QueryLexer_hpp_*/

Generated on Wed Nov 3 12:59:02 2004 for Lemur Toolkit by doxygen1.2.18