nfa_graph__generate Subroutine

private pure subroutine nfa_graph__generate(self, tree, entry, exit)

Type Bound

nfa_graph_t

Arguments

Type IntentOptional Attributes Name
class(nfa_graph_t), intent(inout) :: self
type(tree_t), intent(in) :: tree
integer(kind=int32), intent(in) :: entry
integer(kind=int32), intent(in) :: exit

Source Code

   pure subroutine nfa_graph__generate(self, tree, entry, exit)
      use :: forgex_syntax_tree_graph_m
      implicit none
      class(nfa_graph_t), intent(inout) :: self
      type(tree_t),   intent(in) :: tree
      integer(int32), intent(in) :: entry, exit

      call generate_nfa(tree, tree%top, self%nodes, self%nfa_top, entry, exit)
   end subroutine nfa_graph__generate