summaryrefslogtreecommitdiff
path: root/src/hir/expr_ptr.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-08-08 00:05:07 +0800
committerJohn Hodge <tpg@mutabah.net>2016-08-08 00:05:07 +0800
commit21976eb952f0abec93dcc8abdd9455d1ab9a6d86 (patch)
tree098e4266fc8bb6df95e63d806619937a3741f7f9 /src/hir/expr_ptr.hpp
parentfac7c2542393d5476aae3068bc094bf9b3e13b02 (diff)
downloadmrust-21976eb952f0abec93dcc8abdd9455d1ab9a6d86.tar.gz
HIR - Store the binding types for an expression for use in later stages
Diffstat (limited to 'src/hir/expr_ptr.hpp')
-rw-r--r--src/hir/expr_ptr.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/hir/expr_ptr.hpp b/src/hir/expr_ptr.hpp
index 12ebddd2..a4c04d2b 100644
--- a/src/hir/expr_ptr.hpp
+++ b/src/hir/expr_ptr.hpp
@@ -2,6 +2,7 @@
*/
#pragma once
#include <memory>
+#include <vector>
namespace MIR {
class Function;
@@ -9,6 +10,7 @@ class Function;
namespace HIR {
+class TypeRef;
class ExprNode;
class ExprPtr
@@ -16,6 +18,9 @@ class ExprPtr
::HIR::ExprNode* node;
public:
+ ::std::vector< ::HIR::TypeRef> m_bindings;
+
+public:
ExprPtr();
ExprPtr(::std::unique_ptr< ::HIR::ExprNode> _);
ExprPtr(ExprPtr&& x):