functionis_separate_interfacepure
pure logical function is_separate_interface(list, id)
True if entity id is the interface of a separate module procedure whose body has been found.
Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
| list | type(entity_list_t) | in | the entities | |
| id | integer | in | the entity |
Result
| Name | Type | Attributes | Description |
|---|---|---|---|
| is_separate_interface | logical |
Calls
Called by
Source
Show the code
pure logical function is_separate_interface(list, id)
type(entity_list_t), intent(in) :: list !! the entities
integer, intent(in) :: id !! the entity
is_separate_interface = list%box(id)%e%implements > 0 .and. .not. is_separate_body(list, id)
end function is_separate_interface