Update mojo sdk to rev 1dc8a9a5db73d3718d99917fadf31f5fb2ebad4f
[chromium-blink-merge.git] / third_party / hunspell / src / parsers / latexparser.hxx
blob851ecb9a451ffb6de9c12cc8caffb41320b8e410
1 /*
2 * parser classes for MySpell
4 * implemented: text, HTML, TeX
6 * Copyright (C) 2002, Laszlo Nemeth
8 */
10 #ifndef _LATEXPARSER_HXX_
11 #define _LATEXPARSER_HXX_
14 #include "textparser.hxx"
17 * HTML Parser
21 class LaTeXParser : public TextParser
23 int pattern_num; // number of comment
24 int depth; // depth of blocks
25 int arg; // arguments's number
26 int opt; // optional argument attrib.
28 public:
30 LaTeXParser(const char * wc);
31 LaTeXParser(unsigned short * wordchars, int len);
32 virtual ~LaTeXParser();
34 virtual char * next_token();
36 private:
38 int look_pattern(int col);
43 #endif