2 * parser classes for MySpell
4 * implemented: text, HTML, TeX
6 * Copyright (C) 2002, Laszlo Nemeth
10 #ifndef _LATEXPARSER_HXX_
11 #define _LATEXPARSER_HXX_
14 #include "textparser.hxx"
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.
30 LaTeXParser(const char * wc
);
31 LaTeXParser(unsigned short * wordchars
, int len
);
32 virtual ~LaTeXParser();
34 virtual char * next_token();
38 int look_pattern(int col
);