nfa_state_node_t Derived Type

type, public :: nfa_state_node_t


Components

Type Visibility Attributes Name Initial
integer(kind=int32), public :: alloc_count_b = ALLOC_COUNT_INITTIAL
integer(kind=int32), public :: alloc_count_f = ALLOC_COUNT_INITTIAL
type(nfa_transition_t), public, allocatable :: backward(:)
integer(kind=int32), public :: backward_top = 0
type(nfa_transition_t), public, allocatable :: forward(:)
integer(kind=int32), public :: forward_top = 0
integer(kind=int32), public :: own_i

Type-Bound Procedures

procedure, public :: add_transition => nfa__add_transition

  • private pure subroutine nfa__add_transition(self, nfa_graph, src, dst, c)

    Note that the return value of the size function on an unallocated array is undefined.

    Read more…

    Arguments

    Type IntentOptional Attributes Name
    class(nfa_state_node_t), intent(inout) :: self
    type(nfa_state_node_t), intent(inout) :: nfa_graph(:)
    integer(kind=int32), intent(in) :: src
    integer(kind=int32), intent(in) :: dst
    type(segment_t), intent(in) :: c

procedure, public :: merge_segments => nfa__merge_segments_of_transition

procedure, public :: realloc_b => nfa__reallocate_transition_backward

procedure, public :: realloc_f => nfa__reallocate_transition_forward