diff options
Diffstat (limited to 'src/ast/types.hpp')
-rw-r--r-- | src/ast/types.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast/types.hpp b/src/ast/types.hpp index 314ab828..820bcf27 100644 --- a/src/ast/types.hpp +++ b/src/ast/types.hpp @@ -266,6 +266,8 @@ public: bool operator!=(const TypeRef& x) const { return ord(x) != OrdEqual; } bool operator<(const TypeRef& x) const { return ord(x) == OrdLess; }; + void print(::std::ostream& os, bool is_debug=false) const; + PrettyPrintType print_pretty() const { return PrettyPrintType(*this); } friend class PrettyPrintType; |