diff options
Diffstat (limited to 'src/parsers/htmlparser.hxx')
-rw-r--r-- | src/parsers/htmlparser.hxx | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/parsers/htmlparser.hxx b/src/parsers/htmlparser.hxx new file mode 100644 index 0000000..9a0da7a --- /dev/null +++ b/src/parsers/htmlparser.hxx @@ -0,0 +1,44 @@ +/* + * HTML parser class for MySpell + * + * implemented: text, HTML, TeX + * + * Copyright (C) 2002, Laszlo Nemeth + * + */ + +#ifndef _HTMLPARSER_HXX_ +#define _HTMLPARSER_HXX_ + + +#include "textparser.hxx" + +/* + * HTML Parser + * + */ + +class HTMLParser : public TextParser +{ +public: + + HTMLParser(const char * wc); + HTMLParser(unsigned short * wordchars, int len); + virtual ~HTMLParser(); + + virtual char * next_token(); + +private: + + int look_pattern(const char * p[][2], unsigned int len, int column); + int pattern_num; + int pattern2_num; + int prevstate; + int checkattr; + char quotmark; + +}; + + +#endif + |