Added custom method type destructor filter

This commit is contained in:
Bartek Kryza
2023-06-02 21:08:19 +02:00
parent e40dc3a60c
commit e681d1a3cc
5 changed files with 9 additions and 1 deletions

View File

@@ -231,6 +231,8 @@ template <> struct convert<method_type> {
const auto &val = node.as<std::string>();
if (val == to_string(method_type::constructor))
rhs = method_type::constructor;
else if (val == to_string(method_type::destructor))
rhs = method_type::destructor;
else if (val == to_string(method_type::assignment))
rhs = method_type::assignment;
else if (val == to_string(method_type::operator_))