toml_visitor Derived Type

type, public, abstract :: toml_visitor

Abstract visitor for TOML values


Type-Bound Procedures

procedure(visit), public, deferred :: visit

Visitor visiting a TOML value

  • recursive subroutine visit(self, val) Prototype

    Accept a visitor to transverse the data structure

    Arguments

    Type IntentOptional Attributes Name
    class(toml_visitor), intent(inout) :: self

    Instance of the visitor

    class(toml_value), intent(inout) :: val

    Value to visit

Source Code

   type, abstract :: toml_visitor
   contains

      !> Visitor visiting a TOML value
      procedure(visit), deferred :: visit

   end type toml_visitor