functionis_shownpure
pure logical function is_shown(list, item)
True if item and everything that holds it are shown.
Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
| list | type(entity_list_t) | in | the entities | |
| item | integer | in | the entity |
Result
| Name | Type | Attributes | Description |
|---|---|---|---|
| is_shown | logical |
Called by
- add_node
- binding_description
- find_type_uses
- link_to
- merge_separate_procedures
- node_link
- page_entity
- reveal_bound_procedures
Source
Show the code
pure logical function is_shown(list, item)
type(entity_list_t), intent(in) :: list !! the entities
integer, intent(in) :: item !! the entity
integer :: k
is_shown = .true.
k = item
do while (k > 0)
if (.not. list%box(k)%e%visible) is_shown = .false.
k = list%box(k)%e%parent
end do
end function is_shown