X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Fmathml_editor%2Fsrc%2FAPushLexer.hh;fp=helm%2FDEVEL%2Fmathml_editor%2Fsrc%2FAPushLexer.hh;h=2243426d2ecfcc4378b6f91022ac28474135b0fb;hb=30060cffed61b88fe53e4d6386b606050d6dfda0;hp=0000000000000000000000000000000000000000;hpb=e6927665462cbbace76cff1b17d4f8badcb44eda;p=helm.git diff --git a/helm/DEVEL/mathml_editor/src/APushLexer.hh b/helm/DEVEL/mathml_editor/src/APushLexer.hh new file mode 100644 index 000000000..2243426d2 --- /dev/null +++ b/helm/DEVEL/mathml_editor/src/APushLexer.hh @@ -0,0 +1,21 @@ + +#ifndef __APushLexer_hh__ +#define __APushLexer_hh__ + +class APushLexer +{ +public: + APushLexer(class APushParser& p) : parser(p) { }; + virtual ~APushLexer() { }; + + virtual void push(char) = 0; + virtual void reset(void) = 0; + virtual bool error(void) const = 0; + //virtual void freeze(void); + //virtual void thaw(void); + +protected: + class APushParser& parser; +}; + +#endif // __APushLexer_hh__