]> matita.cs.unibo.it Git - helm.git/blob - helm/DEVEL/mathml_editor/src/APushLexer.hh
Initial revision
[helm.git] / helm / DEVEL / mathml_editor / src / APushLexer.hh
1
2 #ifndef __APushLexer_hh__
3 #define __APushLexer_hh__
4
5 class APushLexer
6 {
7 public:
8   APushLexer(class APushParser& p) : parser(p) { };
9   virtual ~APushLexer() { };
10
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);
16
17 protected:
18   class APushParser& parser;
19 };
20
21 #endif // __APushLexer_hh__