nodeStack_t Derived Type

type, public :: nodeStack_t

type~~nodestack_t~~InheritsGraph type~nodestack_t nodeStack_t type~genericnode_t genericNode_t type~genericnode_t->type~nodestack_t levels type~node_t~2 node_t type~node_t~2->type~genericnode_t node
Help



Components

TypeVisibility AttributesNameInitial
type(genericNode_t), public, dimension(:), allocatable:: levels

Constructor

public interface nodeStack_t

  • public function newNodeStack(N) result(self)

    Arguments

    Type IntentOptional AttributesName
    integer, intent(in) :: N

    Return Value type(nodeStack_t)


Type-Bound Procedures

procedure, public :: pop

  • public function pop(self) result(o)

    Arguments

    Type IntentOptional AttributesName
    class(nodeStack_t), intent(inout) :: self

    Return Value class(node_t), allocatable

procedure, public :: push

  • public subroutine push(self, a)

    Arguments

    Type IntentOptional AttributesName
    class(nodeStack_t), intent(inout) :: self
    class(node_t), intent(in) :: a