package scfg

  1. Overview
  2. Docs

Module Scfg.PpSource

Module providing functions to pretty print a config or parts of a config.

Sourceval param : Format.formatter -> string -> unit

Print a name or a parameter on a given formatter. The function will try to print with as low quoting as possible.

Sourceval params : Format.formatter -> string list -> unit

Print a list of parameters on a given formatter.

Sourceval children : Format.formatter -> Types.directive list -> unit

Print children of a directive on a given formatter.

Sourceval directive : Format.formatter -> Types.directive -> unit

Print a directive on a given formatter.

Sourceval config : Format.formatter -> Types.config -> unit

Print a config on a given formatter.

OCaml

Innovation. Community. Security.