tomlf_type_value Module

Class definitions for basic data types used for handling TOML



Derived Types

type, public ::  toml_key

Thin wrapper around the deferred-size character intrinisc

Components

Type Visibility Attributes Name Initial
character(kind=tfc, len=:), public, allocatable :: key

Raw representation of the key to the TOML value

integer, public :: origin = 0

Original source of the value

type, public, abstract ::  toml_value

Abstract base value for TOML data types

Components

Type Visibility Attributes Name Initial
character(kind=tfc, len=:), public, allocatable :: key

Raw representation of the key to the TOML value

integer, public :: origin = 0

Original source of the value

Type-Bound Procedures

procedure, public :: accept ../../

Accept a visitor to transverse the data structure

procedure(destroy), public, deferred :: destroy ../../

Release allocation hold by TOML value

procedure, public :: get_key ../../

Get escaped key to TOML value

procedure, public :: match_key ../../

Compare raw key of TOML value to input key

type, public, abstract ::  toml_visitor

Abstract visitor for TOML values

Type-Bound Procedures

procedure(visit), public, deferred :: visit ../../

Visitor visiting a TOML value