module Ini_file: Key_value_section.S
Adaptor module for configuration files in the style of php.ini
or configuration files on some proprietary operating systems.
These files use = between keys and values, square brackets around
section headings, and semicolon to start comment lines.
include Adaptor.Key_value_section.SPEC
val adaptor : Adaptor.adaptor
Adaptor for a custom key-value-section.
val fitting : Adaptor.fitting_adaptor
Fitting for a custom key-value-section.
val reader : Reader.t
Reader for a custom key-value-section.
val new_splitter : unit -> Adaptor.splitter
Splitter constructor for a custom key-value-section. This
function takes
()
as its first argument in order to initialize
internal state that keeps track of the current section. That is,
reapplying
Adaptor.Key_value_section.S.new_splitter
to
()
will yield a splitter that
initially is in section
""
, and doesn't share its section state
with any other splitter.