Module Autofonce_config.EzToml
module TYPES : sig ... end
include module type of struct include EZ end
val key : string -> Toml.Types.Table.Key.t
val empty : 'a Toml.Types.Table.t
val find : Toml.Types.Table.key -> 'a Toml.Types.Table.t -> 'a
val to_string : Toml.Types.table -> string
val from_file : string -> Toml.Parser.result
val from_string : string -> Toml.Parser.result
val map : ('a -> 'b) -> 'a Toml.Types.Table.t -> 'b Toml.Types.Table.t
val string_of_location : Toml.Parser.location -> string
val from_file_exn : string -> Toml.Types.table
val from_string_exn : string -> Toml.Types.table
val failwith : ('a, unit, string, 'b) Stdlib.format4 -> 'a
val key2str : string list -> string
val iter : (string -> 'a -> unit) -> 'a Toml.Types.Table.t -> unit
val get_string : TYPES.value Toml.Types.Table.t -> string list -> string
val get_string_default :
TYPES.value Toml.Types.Table.t ->
string list ->
string ->
string
val get_string_option :
?default:string ->
TYPES.value Toml.Types.Table.t ->
string list ->
string option
val get_bool : TYPES.value Toml.Types.Table.t -> string list -> bool
val expecting_type : string -> string list -> 'a
val get_bool_option :
?default:bool ->
TYPES.value Toml.Types.Table.t ->
string list ->
bool option
val get_bool_default :
TYPES.value Toml.Types.Table.t ->
string list ->
bool ->
bool
val get_int : TYPES.value Toml.Types.Table.t -> string list -> int
val get_int_default :
TYPES.value Toml.Types.Table.t ->
string list ->
int ->
int
val put_bool_option :
string list ->
bool option ->
TYPES.value Toml.Types.Table.t ->
TYPES.value Toml.Types.Table.t
val put_option :
string list ->
bool option ->
TYPES.value Toml.Types.Table.t ->
TYPES.value Toml.Types.Table.t
val put_string_option :
string list ->
string option ->
TYPES.value Toml.Types.Table.t ->
TYPES.value Toml.Types.Table.t
val get_string_list_option :
?default:string list ->
TYPES.value Toml.Types.Table.t ->
string list ->
string list option
val get_string_list_default :
TYPES.value Toml.Types.Table.t ->
string list ->
string list ->
string list
val put_string_list_option :
string list ->
string list option ->
TYPES.value Toml.Types.Table.t ->
TYPES.value Toml.Types.Table.t
val put_string_list :
string list ->
string list ->
TYPES.value Toml.Types.Table.t ->
TYPES.value Toml.Types.Table.t
val expect_string : key:string list -> TYPES.value -> string
val expect_string_list : key:string list -> TYPES.value -> string list
val expect_bool : key:string list -> TYPES.value -> bool
val enum_encoding :
to_string:('a -> string) ->
of_string:(key:string list -> string -> 'a) ->
'a TYPES.encoding
type file_option = {
option_name : string;
option_value : Toml.Types.value option;
option_default : string option;
}
val new_file : unit -> file
val string_of_file : file -> string
module CONST : sig ... end