lazy_dfa__deallocate Subroutine

private pure subroutine lazy_dfa__deallocate(self)

This subroutine performs deallocation of the arrays representing the DFA node transitions for every node in the DFA graph.

Type Bound

dfa_graph_t

Arguments

Type IntentOptional Attributes Name
class(dfa_graph_t), intent(inout) :: self

Source Code

   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