Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(nfa_state_node_t), | intent(inout) | :: | self |
pure elemental subroutine nfa__merge_segments_of_transition(self) use :: forgex_segment_m, only:seg__merge_segments=>merge_segments, seg__sort_segments=>sort_segment_by_min implicit none class(nfa_state_node_t), intent(inout) :: self integer :: j if (allocated(self%forward)) then do j = 1, self%forward_top if (allocated(self%forward(j)%c%sps)) then call seg__sort_segments(self%forward(j)%c%sps) call seg__merge_segments(self%forward(j)%c%sps) end if end do end if end subroutine nfa__merge_segments_of_transition