Parse cpp_class
This commit is contained in:
parent
895ac5d0c9
commit
e0b76a07d0
9 changed files with 425 additions and 50 deletions
|
|
@ -46,17 +46,32 @@ const char* cppast::to_string(cpp_access_specifier_kind access) noexcept
|
|||
return "should not get here either";
|
||||
}
|
||||
|
||||
cpp_entity_kind cpp_access_specifier::do_get_entity_kind() const noexcept
|
||||
cpp_entity_kind cpp_access_specifier::kind() noexcept
|
||||
{
|
||||
return cpp_entity_kind::access_specifier_t;
|
||||
}
|
||||
|
||||
cpp_entity_kind cpp_base_class::do_get_entity_kind() const noexcept
|
||||
cpp_entity_kind cpp_access_specifier::do_get_entity_kind() const noexcept
|
||||
{
|
||||
return kind();
|
||||
}
|
||||
|
||||
cpp_entity_kind cpp_base_class::kind() noexcept
|
||||
{
|
||||
return cpp_entity_kind::base_class_t;
|
||||
}
|
||||
|
||||
cpp_entity_kind cpp_class::do_get_entity_kind() const noexcept
|
||||
cpp_entity_kind cpp_base_class::do_get_entity_kind() const noexcept
|
||||
{
|
||||
return kind();
|
||||
}
|
||||
|
||||
cpp_entity_kind cpp_class::kind() noexcept
|
||||
{
|
||||
return cpp_entity_kind::class_t;
|
||||
}
|
||||
|
||||
cpp_entity_kind cpp_class::do_get_entity_kind() const noexcept
|
||||
{
|
||||
return kind();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue