X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Fmathml_editor%2Fsrc%2FTPushParser.hh;h=09bfe713db9a94321fa1f3873bc4d67fccff8f32;hb=7bea7bddf7ca13260f4d3965182dc4fb58d035e7;hp=bb659c3d20ee37ee3536820333d7d68870533834;hpb=89262281b6e83bd2321150f81f1a0583645eb0c8;p=helm.git
diff --git a/helm/DEVEL/mathml_editor/src/TPushParser.hh b/helm/DEVEL/mathml_editor/src/TPushParser.hh
index bb659c3d2..09bfe713d 100644
--- a/helm/DEVEL/mathml_editor/src/TPushParser.hh
+++ b/helm/DEVEL/mathml_editor/src/TPushParser.hh
@@ -13,13 +13,14 @@
class TPushParser : public APushParser
{
public:
- TPushParser(const class TDictionary&);
- TPushParser(const class TDictionary&, class TListener&);
+ TPushParser(class ALogger&, const class TDictionary&);
+ TPushParser(class ALogger&, class AMathMLFactory&, const class TDictionary&);
virtual ~TPushParser();
virtual void push(const TToken&);
- virtual void setCursor(const std::string&);
+ virtual void setCursorHint(const std::string&);
+protected:
TDocument document(void) const { return doc; }
private:
@@ -27,7 +28,7 @@ private:
std::string PRIME(void) const;
bool isPrimes(const TNode&) const;
-
+
void do_begin(void);
void do_end(void);
void do_shift(void);
@@ -43,6 +44,9 @@ private:
void do_active(const std::string&);
void do_comment(void);
void do_control(const std::string&);
+ void gdelete_prev(void);
+ void rgreplace_futher(void);
+ void do_gdelete(void);
void do_cr(void);
void do_apostrophe(void);
@@ -58,13 +62,10 @@ private:
};
std::stack frames;
- std::list buffer;
unsigned nextId;
TDocument doc;
TNode cursor;
-
const class TDictionary& dictionary;
- class TListener* listener;
};
#endif // __TPushParser_hh__