diff options
author | John Hodge <tpg@mutabah.net> | 2016-05-16 11:29:23 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-05-16 11:29:23 +0800 |
commit | cca4ff65a4fc2f52563ee5db5a2b358b813d946f (patch) | |
tree | 68bb4e2eb93463f3d55d6904895101206da3a76e /src/hir/path.hpp | |
parent | 2ef7be5dc9f455e5dd9d8753aa34e2bb5db7f587 (diff) | |
download | mrust-cca4ff65a4fc2f52563ee5db5a2b358b813d946f.tar.gz |
HIR - Few more expression nodes
Diffstat (limited to 'src/hir/path.hpp')
-rw-r--r-- | src/hir/path.hpp | 11 |
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); |