summaryrefslogtreecommitdiff
path: root/src/ast/path.hpp
diff options
context:
space:
mode:
authorJohn Hodge (sonata) <tpg@mutabah.net>2015-01-25 17:59:48 +0800
committerJohn Hodge (sonata) <tpg@mutabah.net>2015-01-25 17:59:48 +0800
commit76f199888f65fd21ffdae7c3518748098fdc0726 (patch)
tree6f89e10613cf536e1f95d923dc451451edca67b2 /src/ast/path.hpp
parent175b02f7934d574778c87028edc9a6ebb97d690c (diff)
downloadmrust-76f199888f65fd21ffdae7c3518748098fdc0726.tar.gz
Hacked in dumping as rust
Diffstat (limited to 'src/ast/path.hpp')
-rw-r--r--src/ast/path.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast/path.hpp b/src/ast/path.hpp
index 5325f8ef..cfdf16c2 100644
--- a/src/ast/path.hpp
+++ b/src/ast/path.hpp
@@ -38,6 +38,7 @@ public:
const ::std::vector<TypeRef>& args() const;
bool operator==(const PathNode& x) const;
+ void print_pretty(::std::ostream& os) const;
friend ::std::ostream& operator<<(::std::ostream& os, const PathNode& pn);
SERIALISABLE_PROTOTYPES();
@@ -183,6 +184,7 @@ public:
bool operator==(const Path& x) const;
SERIALISABLE_PROTOTYPES();
+ void print_pretty(::std::ostream& os) const;
friend ::std::ostream& operator<<(::std::ostream& os, const Path& path);
friend ::Serialiser& operator<<(Serialiser& s, Path::Class pc);
friend void operator>>(Deserialiser& s, Path::Class& pc);