| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * HTML parser class for MySpell | |
| 3 * | |
| 4 * implemented: text, HTML, TeX | |
| 5 * | |
| 6 * Copyright (C) 2002, Laszlo Nemeth | |
| 7 * | |
| 8 */ | |
| 9 | |
| 10 #ifndef _HTMLPARSER_HXX_ | |
| 11 #define _HTMLPARSER_HXX_ | |
| 12 | |
| 13 | |
| 14 #include "textparser.hxx" | |
| 15 | |
| 16 /* | |
| 17 * HTML Parser | |
| 18 * | |
| 19 */ | |
| 20 | |
| 21 class HTMLParser : public TextParser | |
| 22 { | |
| 23 public: | |
| 24 | |
| 25 HTMLParser(const char * wc); | |
| 26 HTMLParser(unsigned short * wordchars, int len); | |
| 27 virtual ~HTMLParser(); | |
| 28 | |
| 29 virtual char * next_token(); | |
| 30 | |
| 31 private: | |
| 32 | |
| 33 int look_pattern(const char * p[][2], unsigned int len, int co
lumn); | |
| 34 int pattern_num; | |
| 35 int pattern2_num; | |
| 36 int prevstate; | |
| 37 int checkattr; | |
| 38 char quotmark; | |
| 39 | |
| 40 }; | |
| 41 | |
| 42 | |
| 43 #endif | |
| 44 | |
| OLD | NEW |