fdoc

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

NameTypeIntentAttributesDescription
listtype(entity_list_t)in

the entities

idintegerin

the entity

Result

NameTypeAttributesDescription
is_separate_interfacelogical

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