subroutineimplemented_hereprivate
subroutine implemented_here(site, id, ids)
Add to ids the procedures whose bodies are in unit id but are shown on the pages of their interfaces.
Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
| site | type(site_t) | in | the site | |
| id | integer | in | the unit | |
| ids | integer | inout | allocatabledimension(:) | the procedures |
Calls
Called by
Source
Show the code
subroutine implemented_here(site, id, ids)
type(site_t), intent(in) :: site !! the site
integer, intent(in) :: id !! the unit
integer, allocatable, intent(inout) :: ids(:) !! the procedures
integer :: k, shown
associate (e => site%p%list%box(id)%e)
if (e%kind /= E_MODULE .and. e%kind /= E_SUBMODULE) return
do k = 1, size(e%children)
shown = page_entity(site%p%list, e%children(k))
if (shown /= e%children(k)) call push_int(ids, shown)
end do
end associate
call sort_ids(site, ids)
end subroutine implemented_here