sfp32Stack Derived Type

type, public, extends(feqparse_floatstack) :: sfp32Stack


Contents

Source Code


Components

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

Finalization Procedures

final :: Finalize_sfp32Stack


Type-Bound Procedures

procedure, public :: Construct => Construct_sfp32Stack

  • public subroutine Construct_sfp32Stack(stack, N)

    Arguments

    TypeIntentOptionalAttributesName
    class(sfp32Stack), intent(out) :: stack
    integer, intent(in) :: N

procedure, public :: Pop => Pop_sfp32Stack

  • public subroutine Pop_sfp32Stack(stack, tok)

    Arguments

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

procedure, public :: Push => Push_sfp32Stack

  • public subroutine Push_sfp32Stack(stack, tok)

    Arguments

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

Source Code

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

  contains

    procedure :: Construct => Construct_sfp32Stack
    final :: Finalize_sfp32Stack
    procedure :: Push => Push_sfp32Stack
    procedure :: Pop => Pop_sfp32Stack

  endtype sfp32Stack