X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=helm%2FDEVEL%2Fmathml_editor%2Fsrc%2FAPushLexer.hh;fp=helm%2FDEVEL%2Fmathml_editor%2Fsrc%2FAPushLexer.hh;h=2243426d2ecfcc4378b6f91022ac28474135b0fb;hp=0000000000000000000000000000000000000000;hb=89262281b6e83bd2321150f81f1a0583645eb0c8;hpb=b1fb6b8e1767d775bc452303629e95941d142bea 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__