diff options
author | John Hodge <tpg@mutabah.net> | 2016-03-16 22:45:01 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-03-16 22:45:01 +0800 |
commit | eba015ba443d72d49e6b3ddcb29a7f3d1efe799a (patch) | |
tree | a80f76e723101230863c238d0c3c6c5fb4619e8d /src/include | |
parent | a3d37e1f829fc974238815a9d9d468c9087048b4 (diff) | |
download | mrust-eba015ba443d72d49e6b3ddcb29a7f3d1efe799a.tar.gz |
Expand - Handle AST::TupleItem attributes
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/synext.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/synext.hpp b/src/include/synext.hpp index c1c7659d..0b9ec3f1 100644 --- a/src/include/synext.hpp +++ b/src/include/synext.hpp @@ -14,6 +14,7 @@ namespace AST { class Path; class StructItem; + class TupleItem; class EnumVariant; class Module; @@ -51,6 +52,8 @@ public: virtual void handle(const AST::MetaItem& mi, AST::Crate& crate, const AST::Path& path, AST::Module& mod, AST::Item&i) const {} // NOTE: To delete, clear the name virtual void handle(const AST::MetaItem& mi, AST::Crate& crate, ::AST::StructItem& si) const {} + // NOTE: To delete, make the type invalid + virtual void handle(const AST::MetaItem& mi, AST::Crate& crate, ::AST::TupleItem& si) const {} // NOTE: To delete, clear the name virtual void handle(const AST::MetaItem& mi, AST::Crate& crate, ::AST::EnumVariant& ev) const {} |