]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/mathml_editor/src/TPushParser.hh
* code cleanup
[helm.git] / helm / DEVEL / mathml_editor / src / TPushParser.hh
index 951fb874ab79a0b85e805045cbf0b48410198548..09bfe713db9a94321fa1f3873bc4d67fccff8f32 100644 (file)
 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:
@@ -61,13 +62,10 @@ private:
   };
 
   std::stack<Frame> frames;
-  //std::list<TToken> buffer;
   unsigned  nextId;
   TDocument doc;
   TNode     cursor;
-
   const class TDictionary& dictionary;
-  class TListener* listener;
 };
 
 #endif // __TPushParser_hh__