Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class 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 18 "indrilang.g"
00005 
00006   #include "indri/QuerySpec.hpp"
00007   #include "indri/DateParse.hpp"
00008   #include "indri/delete_range.hpp"
00009   #include "indri/QueryLexer.hpp"
00010 
00011 #line 12 "QueryLexer.hpp"
00012 #include <antlr/config.hpp>
00013 /* $ANTLR 2.7.7 (2006-11-01): "indrilang.g" -> "QueryLexer.hpp"$ */
00014 #include <antlr/CommonToken.hpp>
00015 #include <antlr/InputBuffer.hpp>
00016 #include <antlr/BitSet.hpp>
00017 #include "QueryLexerTokenTypes.hpp"
00018 #include <antlr/CharScanner.hpp>
00019 ANTLR_BEGIN_NAMESPACE(indri)
00020 ANTLR_BEGIN_NAMESPACE(lang)
00021 class CUSTOM_API QueryLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public QueryLexerTokenTypes
00022 {
00023 #line 77 "indrilang.g"
00024 
00025 private:
00026   bool _numbers;
00027 
00028 public:
00029   void init() {
00030     _numbers = false;
00031   }
00032 
00033   void setNumbers(bool f) {
00034     _numbers = f;
00035   } 
00036 #line 23 "QueryLexer.hpp"
00037 private:
00038         void initLiterals();
00039 public:
00040         bool getCaseSensitiveLiterals() const
00041         {
00042                 return true;
00043         }
00044 public:
00045         QueryLexer(ANTLR_USE_NAMESPACE(std)istream& in);
00046         QueryLexer(ANTLR_USE_NAMESPACE(antlr)InputBuffer& ib);
00047         QueryLexer(const ANTLR_USE_NAMESPACE(antlr)LexerSharedInputState& state);
00048         ANTLR_USE_NAMESPACE(antlr)RefToken nextToken();
00049         public: void mSTAR(bool _createToken);
00050         public: void mO_PAREN(bool _createToken);
00051         public: void mC_PAREN(bool _createToken);
00052         public: void mO_ANGLE(bool _createToken);
00053         public: void mC_ANGLE(bool _createToken);
00054         public: void mO_SQUARE(bool _createToken);
00055         public: void mC_SQUARE(bool _createToken);
00056         public: void mO_BRACE(bool _createToken);
00057         public: void mC_BRACE(bool _createToken);
00058         public: void mDBL_QUOTE(bool _createToken);
00059         public: void mQUOTE(bool _createToken);
00060         public: void mDOT(bool _createToken);
00061         public: void mCOMMA(bool _createToken);
00062         public: void mSLASH(bool _createToken);
00063         public: void mB_SLASH(bool _createToken);
00064         public: void mDASH(bool _createToken);
00065         public: void mSPACE_DASH(bool _createToken);
00066         public: void mCOLON(bool _createToken);
00067         protected: void mTAB(bool _createToken);
00068         protected: void mCR(bool _createToken);
00069         protected: void mLF(bool _createToken);
00070         protected: void mSPACE(bool _createToken);
00071         protected: void mHIGH_CHAR(bool _createToken);
00072         protected: void mDIGIT(bool _createToken);
00073         protected: void mASCII_LETTER(bool _createToken);
00074         protected: void mSAFE_LETTER(bool _createToken);
00075         protected: void mSAFE_CHAR(bool _createToken);
00076         protected: void mBASESIXFOUR_CHAR(bool _createToken);
00077         protected: void mTEXT_TERM(bool _createToken);
00078         protected: void mNUMBER(bool _createToken);
00079         protected: void mFLOAT(bool _createToken);
00080         public: void mTERM(bool _createToken);
00081         protected: void mENCODED_QUOTED_TERM(bool _createToken);
00082         protected: void mENCODED_TERM(bool _createToken);
00083         public: void mOPERATOR(bool _createToken);
00084         public: void mJUNK(bool _createToken);
00085 private:
00086         
00087         static const unsigned long _tokenSet_0_data_[];
00088         static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_0;
00089         static const unsigned long _tokenSet_1_data_[];
00090         static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_1;
00091         static const unsigned long _tokenSet_2_data_[];
00092         static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_2;
00093         static const unsigned long _tokenSet_3_data_[];
00094         static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_3;
00095         static const unsigned long _tokenSet_4_data_[];
00096         static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_4;
00097         static const unsigned long _tokenSet_5_data_[];
00098         static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_5;
00099         static const unsigned long _tokenSet_6_data_[];
00100         static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_6;
00101 };
00102 
00103 ANTLR_END_NAMESPACE
00104 ANTLR_END_NAMESPACE
00105 #endif /*INC_QueryLexer_hpp_*/

Generated on Tue Jun 15 11:02:55 2010 for Lemur by doxygen 1.3.4