diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-12-16 17:43:36 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-12-16 22:24:09 +0900 |
| commit | 5d7651f93ab9000d6707ae9e541cbc6b3d190724 (patch) | |
| tree | ece4a4cca10c3ca4308cad42f3f4cfcec9f28f96 /poxml/GettextParser.h | |
| parent | d23e53cb249d662bba818b47b62a8bb65e4a7d23 (diff) | |
| download | tdesdk-5d7651f9.tar.gz tdesdk-5d7651f9.zip | |
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7d4f47bd0bf7544dbd7f64ed4089e80780c1d2bd)
Diffstat (limited to 'poxml/GettextParser.h')
| -rw-r--r-- | poxml/GettextParser.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/poxml/GettextParser.h b/poxml/GettextParser.h new file mode 100644 index 00000000..6d48b8a3 --- /dev/null +++ b/poxml/GettextParser.h @@ -0,0 +1,53 @@ +#ifndef INC_GettextParser_hpp_ +#define INC_GettextParser_hpp_ + +#line 2 "gettext.g" + +#include <string> +using namespace std; +#include "parser.h" + +#line 11 "GettextParser.h" +#include "antlr/config.h" +/* $ANTLR 2.7.1: "gettext.g" -> "GettextParser.h"$ */ +#include "antlr/TokenStream.h" +#include "antlr/TokenBuffer.h" +#include "GettextParserTokenTypes.h" +#include "antlr/LLkParser.h" + +class GettextParser : public ANTLR_USE_NAMESPACE(antlr)LLkParser, public GettextParserTokenTypes + { +#line 1 "gettext.g" +#line 22 "GettextParser.h" +protected: + GettextParser(ANTLR_USE_NAMESPACE(antlr)TokenBuffer& tokenBuf, int k); +public: + GettextParser(ANTLR_USE_NAMESPACE(antlr)TokenBuffer& tokenBuf); +protected: + GettextParser(ANTLR_USE_NAMESPACE(antlr)TokenStream& lexer, int k); +public: + GettextParser(ANTLR_USE_NAMESPACE(antlr)TokenStream& lexer); + GettextParser(const ANTLR_USE_NAMESPACE(antlr)ParserSharedInputState& state); + public: MsgList file(); + public: string comment(); + public: MsgBlock file_block(); + public: string msgid(); + public: string msgstr(); + public: string msgid_plural(); + public: string msgstr_plural(); +private: + static const char* _tokenNames[]; + + 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; + static const unsigned long _tokenSet_2_data_[]; + static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_2; + static const unsigned long _tokenSet_3_data_[]; + static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_3; + static const unsigned long _tokenSet_4_data_[]; + static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_4; +}; + +#endif /*INC_GettextParser_hpp_*/ |
