This subroutine performs deallocation of the arrays representing the DFA node transitions for every node in the DFA graph.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(dfa_graph_t), | intent(inout) | :: | self |
pure subroutine lazy_dfa__deallocate(self) implicit none class(dfa_graph_t), intent(inout) :: self integer :: i if (.not. allocated(self%nodes)) return do i = 1, self%dfa_limit call self%nodes(i)%free() end do end subroutine lazy_dfa__deallocate