r1fp32Stack Derived Type

type, public, extends(feqparse_floatstack) :: r1fp32Stack


Contents

Source Code


Components

TypeVisibilityAttributesNameInitial
real(kind=real32), public, allocatable:: tokens(:,:)
integer, public :: top_index

Finalization Procedures

final :: Finalize_r1fp32Stack


Type-Bound Procedures

procedure, public :: Construct => Construct_r1fp32Stack

  • public subroutine Construct_r1fp32Stack(stack, N, mold)

    Arguments

    TypeIntentOptionalAttributesName
    class(r1fp32Stack), intent(out) :: stack
    integer, intent(in) :: N
    real(kind=real32), intent(in) :: mold(:)

procedure, public :: Pop => Pop_r1fp32Stack

  • public subroutine Pop_r1fp32Stack(stack, tok)

    Arguments

    TypeIntentOptionalAttributesName
    class(r1fp32Stack), intent(inout) :: stack
    real(kind=real32), intent(out) :: tok(:)

procedure, public :: Push => Push_r1fp32Stack

  • public subroutine Push_r1fp32Stack(stack, tok)

    Arguments

    TypeIntentOptionalAttributesName
    class(r1fp32Stack), intent(inout) :: stack
    real(kind=real32), intent(in) :: tok(:)

Source Code

  type,extends(feqparse_floatstack) :: r1fp32Stack
    real(real32),allocatable :: tokens(:,:)

  contains

    procedure :: Construct => Construct_r1fp32Stack
    final :: Finalize_r1fp32Stack
    procedure :: Push => Push_r1fp32Stack
    procedure :: Pop => Pop_r1fp32Stack

  endtype r1fp32Stack