toml_label Derived Type

type, public :: toml_label


Components

Type Visibility Attributes Name Initial
integer, public :: first

First and last character of message

integer, public :: last

First and last character of message

integer, public :: level

Level of message

logical, public :: primary

Primary message

character(len=:), public, allocatable :: source

Identifier of context

character(len=:), public, allocatable :: text

Message text


Constructor

public interface toml_label

  • private pure function new_label(level, first, last, text, primary) result(new)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: level
    integer, intent(in) :: first
    integer, intent(in) :: last
    character(len=*), intent(in), optional :: text
    logical, intent(in), optional :: primary

    Return Value type(toml_label)


Source Code

   type toml_label
      !> Level of message
      integer :: level
      !> Primary message
      logical :: primary
      !> First and last character of message
      integer :: first, last
      !> Message text
      character(len=:), allocatable :: text
      !> Identifier of context
      character(len=:), allocatable :: source
   end type toml_label