* Interface to relations between expressions. */
/*
- * GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2004 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// functions overriding virtual functions from base classes
public:
- void print(const print_context & c, unsigned level = 0) const;
unsigned precedence() const {return 20;}
bool info(unsigned inf) const;
size_t nops() const;
unsigned calchash() const;
// new virtual functions which can be overridden by derived classes
+protected:
+ void do_print(const print_context & c, unsigned level) const;
+ void do_print_python_repr(const print_python_repr & c, unsigned level) const;
+
public:
virtual ex lhs() const;
virtual ex rhs() const;