summaryrefslogtreecommitdiff
path: root/src/ast/ast.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/ast.hpp')
-rw-r--r--src/ast/ast.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast/ast.hpp b/src/ast/ast.hpp
index b684379f..b4ccf582 100644
--- a/src/ast/ast.hpp
+++ b/src/ast/ast.hpp
@@ -206,6 +206,8 @@ public:
m_value( move(value) )
{}
+ const TypeRef& type() const { return m_type; }
+
SERIALISABLE_PROTOTYPES();
};