Parse cpp_namespace
This commit is contained in:
parent
51567da741
commit
ce69b0157f
11 changed files with 160 additions and 16 deletions
|
|
@ -8,11 +8,16 @@
|
|||
|
||||
using namespace cppast;
|
||||
|
||||
cpp_entity_kind cpp_namespace::do_get_entity_kind() const noexcept
|
||||
cpp_entity_kind cpp_namespace::kind() noexcept
|
||||
{
|
||||
return cpp_entity_kind::namespace_t;
|
||||
}
|
||||
|
||||
cpp_entity_kind cpp_namespace::do_get_entity_kind() const noexcept
|
||||
{
|
||||
return kind();
|
||||
}
|
||||
|
||||
bool detail::cpp_namespace_ref_predicate::operator()(const cpp_entity& e)
|
||||
{
|
||||
return e.kind() == cpp_entity_kind::namespace_t;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue