2 #ifndef __APushLexer_hh__
3 #define __APushLexer_hh__
8 APushLexer(class APushParser& p) : parser(p) { };
9 virtual ~APushLexer() { };
11 virtual void push(char) = 0;
12 virtual void reset(void) = 0;
13 virtual bool error(void) const = 0;
14 //virtual void freeze(void);
15 //virtual void thaw(void);
18 class APushParser& parser;
21 #endif // __APushLexer_hh__