Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / hunspell / src / parsers / htmlparser.hxx
blob9a0da7a79b5748871a5d0110f007e4d3cfdf976c
1 /*
2 * HTML parser class for MySpell
4 * implemented: text, HTML, TeX
6 * Copyright (C) 2002, Laszlo Nemeth
8 */
10 #ifndef _HTMLPARSER_HXX_
11 #define _HTMLPARSER_HXX_
14 #include "textparser.hxx"
17 * HTML Parser
21 class HTMLParser : public TextParser
23 public:
25 HTMLParser(const char * wc);
26 HTMLParser(unsigned short * wordchars, int len);
27 virtual ~HTMLParser();
29 virtual char * next_token();
31 private:
33 int look_pattern(const char * p[][2], unsigned int len, int column);
34 int pattern_num;
35 int pattern2_num;
36 int prevstate;
37 int checkattr;
38 char quotmark;
43 #endif