package bcfg

  1. Overview
  2. Docs
A boringly simpleconfiguration format

Install

dune-project
 Dependency

Authors

Maintainers

Sources

bcfg-0.1.0.tbz
sha256=7c4862dc6f1bc77bf643881aaad4d59b718c8d5e8e206a63b6a2c532692f0d56
sha512=5c31155c41d6fb84133cbc9aa947a6a3e851acb562204412dd1310407e9b99c6d7619e5a0da77cc9f16268db2583daa5ede0f5db7e43a2057d31079d9fd4a17b

doc/bcfg.validate/Bcfg_validate/index.html

Module Bcfg_validateSource

Sourceval error_msgf : ('a, Format.formatter, unit, ('b, [> `Msg of string ]) result) format4 -> 'a
Sourceval rchop : len:int -> string -> string
Sourceval rchop_if_lf : string -> string
Sourceval escape : string -> string
Sourceval read_all : in_channel -> string
Sourceval read_input : string option -> string
Sourceval has_newline : string -> bool
Sourceval max_line_number : (int * 'a) list -> int
Sourcetype cfg = {
  1. length_of_line_numbers : int;
}
Sourceval cfg : (int * 'a) list -> cfg
Sourceval pp_line_number : cfg:cfg -> Format.formatter -> int -> unit
Sourceval pp_error : Format.formatter -> string -> unit
Sourceval pp_newline : Format.formatter -> bool -> unit
Sourceval pp_line_with_ansi : cfg:cfg -> Format.formatter -> (int * Bcfg.Txtloc.line) -> unit
Sourceval pp_symbol : 'a. 'a Bcfg.Error.symbol -> 'a Fmt.t
Sourceval pp_error_message : Format.formatter -> (int * Bcfg.Error.t) -> unit
Sourceval pp_error_with_source : content:string -> Format.formatter -> [< `Lexer_error of Bcfg.Txtloc.t * [< `Invalid_character of char | `Message of string ] | `Parser_error of Bcfg.Txtloc.t * (int * Bcfg.Error.t) option | `Rejected ] -> unit
Sourceval run : bool -> string option -> (int, 'a) result
Sourceval input : string option Cmdliner.Term.t
Sourceval term : int Cmdliner.Term.t
Sourceval cmd : int Cmdliner.Cmd.t