summaryrefslogtreecommitdiff
path: root/src/hir/path.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir/path.hpp')
-rw-r--r--src/hir/path.hpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/hir/path.hpp b/src/hir/path.hpp
index 5c9ca101..70d48cc0 100644
--- a/src/hir/path.hpp
+++ b/src/hir/path.hpp
@@ -28,12 +28,21 @@ struct SimplePath
SimplePath operator+(const ::std::string& s) const;
friend ::std::ostream& operator<<(::std::ostream& os, const SimplePath& x);
};
+
+
+struct PathParams
+{
+ ::std::vector<TypeRef> m_types;
+
+ PathParams();
+};
+
/// Generic path - Simple path with one lot of generic params
class GenericPath
{
public:
SimplePath m_path;
- ::std::vector<TypeRef> m_params;
+ PathParams m_params;
GenericPath();
GenericPath(::HIR::SimplePath sp);