]> www.ginac.de Git - ginac.git/blobdiff - ginac/wildcard.h
use new-style print methods
[ginac.git] / ginac / wildcard.h
index 86c5f4a13671579e8a403dd348445009e5381ceb..42c874ffd74986604aba050fb2c3d1e372503847 100644 (file)
@@ -41,7 +41,6 @@ public:
 
        // functions overriding virtual functions from base classes
 public:
-       void print(const print_context & c, unsigned level = 0) const;
        bool match(const ex & pattern, lst & repl_lst) const;
 
 protected:
@@ -51,6 +50,11 @@ protected:
 public:
        unsigned get_label() const {return label;}
 
+protected:
+       void do_print(const print_context & c, unsigned level) const;
+       void do_print_tree(const print_tree & c, unsigned level) const;
+       void do_print_python_repr(const print_python_repr & c, unsigned level) const;
+
        // member variables
 private:
        unsigned label; /**< Label used to distinguish different wildcards */