tomlf_structure_node Module

Implementation of a basic storage structure as pointer list of pointers.

This implementation does purposely not use pointer attributes in the datastructure to make it safer to work with.



Derived Types

type, public ::  toml_node

Wrapped TOML value to generate pointer list

Components

Type Visibility Attributes Name Initial
class(toml_value), public, allocatable :: val

TOML value payload


Subroutines

public subroutine resize(list, n)

Change size of the TOML value list

Arguments

Type IntentOptional Attributes Name
type(toml_node), intent(inout), allocatable, target :: list(:)

Array of TOML values to be resized

integer, intent(in) :: n

New size of the list