/ OSX / libsecurity_codesigning / lib / RequirementLexer.hpp
RequirementLexer.hpp
 1  #ifndef INC_RequirementLexer_hpp_
 2  #define INC_RequirementLexer_hpp_
 3  
 4  #include <antlr/config.hpp>
 5  /* $ANTLR 2.7.7 (20121221): "requirements.grammar" -> "RequirementLexer.hpp"$ */
 6  #include <antlr/CommonToken.hpp>
 7  #include <antlr/InputBuffer.hpp>
 8  #include <antlr/BitSet.hpp>
 9  #include "RequirementParserTokenTypes.hpp"
10  #include <antlr/CharScanner.hpp>
11  
12  #include "requirement.h"
13  using namespace CodeSigning;
14  typedef Requirement::Maker Maker;
15  
16  ANTLR_BEGIN_NAMESPACE(Security_CodeSigning)
17  class CUSTOM_API RequirementLexer : public antlr::CharScanner, public RequirementParserTokenTypes
18  {
19  private:
20  	void initLiterals();
21  public:
22  	bool getCaseSensitiveLiterals() const
23  	{
24  		return true;
25  	}
26  public:
27  	RequirementLexer(std::istream& in);
28  	RequirementLexer(antlr::InputBuffer& ib);
29  	RequirementLexer(const antlr::LexerSharedInputState& state);
30  	antlr::RefToken nextToken();
31  	protected: void mIDENT(bool _createToken);
32  	public: void mDOTKEY(bool _createToken);
33  	public: void mINTEGER(bool _createToken);
34  	public: void mPATHNAME(bool _createToken);
35  	public: void mHASHCONSTANT(bool _createToken);
36  	protected: void mHEX(bool _createToken);
37  	public: void mHEXCONSTANT(bool _createToken);
38  	public: void mSTRING(bool _createToken);
39  	public: void mARROW(bool _createToken);
40  	public: void mSEMI(bool _createToken);
41  	public: void mLPAREN(bool _createToken);
42  	public: void mRPAREN(bool _createToken);
43  	public: void mLBRACK(bool _createToken);
44  	public: void mRBRACK(bool _createToken);
45  	public: void mLESS(bool _createToken);
46  	public: void mGT(bool _createToken);
47  	public: void mLE(bool _createToken);
48  	public: void mGE(bool _createToken);
49  	public: void mCOMMA(bool _createToken);
50  	public: void mEQL(bool _createToken);
51  	public: void mEQQL(bool _createToken);
52  	public: void mSUBS(bool _createToken);
53  	public: void mNEG(bool _createToken);
54  	public: void mNOT(bool _createToken);
55  	public: void mSTAR(bool _createToken);
56  	public: void mWS(bool _createToken);
57  	public: void mSHELLCOMMENT(bool _createToken);
58  	public: void mC_COMMENT(bool _createToken);
59  	public: void mCPP_COMMENT(bool _createToken);
60  private:
61  	
62  	static const unsigned long _tokenSet_0_data_[];
63  	static const antlr::BitSet _tokenSet_0;
64  	static const unsigned long _tokenSet_1_data_[];
65  	static const antlr::BitSet _tokenSet_1;
66  	static const unsigned long _tokenSet_2_data_[];
67  	static const antlr::BitSet _tokenSet_2;
68  	static const unsigned long _tokenSet_3_data_[];
69  	static const antlr::BitSet _tokenSet_3;
70  	static const unsigned long _tokenSet_4_data_[];
71  	static const antlr::BitSet _tokenSet_4;
72  	static const unsigned long _tokenSet_5_data_[];
73  	static const antlr::BitSet _tokenSet_5;
74  };
75  
76  ANTLR_END_NAMESPACE
77  #endif /*INC_RequirementLexer_hpp_*/