summaryrefslogtreecommitdiff
path: root/src/ast/ast.hpp
diff options
context:
space:
mode:
authorJohn Hodge (sonata) <tpg@mutabah.net>2015-01-14 11:59:15 +0800
committerJohn Hodge (sonata) <tpg@mutabah.net>2015-01-14 11:59:15 +0800
commit6e0dfa94d9206d10514c337cee3d704f559381b3 (patch)
tree34684f8c785ee996945e4038e9970d5bb49e6721 /src/ast/ast.hpp
parentb28f21a27b355fef18bb8daf75f447c69ddad8ee (diff)
downloadmrust-6e0dfa94d9206d10514c337cee3d704f559381b3.tar.gz
Path bind to struct (removed todo that wasn't needed in that location)
Diffstat (limited to 'src/ast/ast.hpp')
-rw-r--r--src/ast/ast.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ast/ast.hpp b/src/ast/ast.hpp
index f1289940..fe07ae7d 100644
--- a/src/ast/ast.hpp
+++ b/src/ast/ast.hpp
@@ -172,6 +172,7 @@ public:
m_fields( move(fields) )
{}
+ const ::std::vector<TypeParam> params() const { return m_params; }
const ::std::vector<StructItem> fields() const { return m_fields; }
SERIALISABLE_PROTOTYPES();