diff options
author | John Hodge (sonata) <tpg@mutabah.net> | 2015-01-17 14:44:26 +0800 |
---|---|---|
committer | John Hodge (sonata) <tpg@mutabah.net> | 2015-01-17 14:44:26 +0800 |
commit | 0eaa7a5a300de625dfa813f49b04407c9f0a4feb (patch) | |
tree | 96a81ddeca3006469005591e4433ed9a6d0e9737 /src/ast/path.hpp | |
parent | f99a99e79ff7946dcf7a283c87caf8f0a92c2c03 (diff) | |
download | mrust-0eaa7a5a300de625dfa813f49b04407c9f0a4feb.tar.gz |
Trait serialise
Diffstat (limited to 'src/ast/path.hpp')
-rw-r--r-- | src/ast/path.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ast/path.hpp b/src/ast/path.hpp index 6370580f..7b47bc37 100644 --- a/src/ast/path.hpp +++ b/src/ast/path.hpp @@ -20,6 +20,7 @@ class Module; class TypeAlias; class Enum; class Struct; +class Trait; class Static; class Function; @@ -60,6 +61,7 @@ public: ALIAS, ENUM, STRUCT, + TRAIT, STRUCT_METHOD, ENUM_VAR, @@ -88,6 +90,7 @@ private: const Module* module_; const Enum* enum_; const Struct* struct_; + const Trait* trait; const Static* static_; const Function* func_; struct { |