diff options
Diffstat (limited to 'poxml/GettextLexer.h')
-rw-r--r-- | poxml/GettextLexer.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/poxml/GettextLexer.h b/poxml/GettextLexer.h new file mode 100644 index 00000000..22634ddc --- /dev/null +++ b/poxml/GettextLexer.h @@ -0,0 +1,47 @@ +#ifndef INC_GettextLexer_hpp_ +#define INC_GettextLexer_hpp_ + +#line 2 "gettext.g" + +#include <string> +using namespace std; +#include "parser.h" + +#line 11 "GettextLexer.h" +#include "antlr/config.h" +/* $ANTLR 2.7.1: "gettext.g" -> "GettextLexer.h"$ */ +#include "antlr/CommonToken.h" +#include "antlr/InputBuffer.h" +#include "antlr/BitSet.h" +#include "GettextParserTokenTypes.h" +#include "antlr/CharScanner.h" +class GettextLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public GettextParserTokenTypes + { +#line 1 "gettext.g" +#line 22 "GettextLexer.h" +private: + void initLiterals(); +public: + bool getCaseSensitiveLiterals() const; +public: + GettextLexer(ANTLR_USE_NAMESPACE(std)istream& in); + GettextLexer(ANTLR_USE_NAMESPACE(antlr)InputBuffer& ib); + GettextLexer(const ANTLR_USE_NAMESPACE(antlr)LexerSharedInputState& state); + ANTLR_USE_NAMESPACE(antlr)RefToken nextToken(); + public: void mWS(bool _createToken); + public: void mL_BRACKET(bool _createToken); + public: void mR_BRACKET(bool _createToken); + public: void mT_INT(bool _createToken); + public: void mT_COMMENT(bool _createToken); + public: void mMSG_TAG(bool _createToken); + public: void mT_STRING(bool _createToken); + protected: void mESC(bool _createToken); +private: + + static const unsigned long _tokenSet_0_data_[]; + static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_0; + static const unsigned long _tokenSet_1_data_[]; + static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_1; +}; + +#endif /*INC_GettextLexer_hpp_*/ |