Module V1.TOML

module Types = Types
val default_config : Types.config
val override_config : Types.config
val of_string : ?file:string -> ?config:Types.config -> string -> Types.node
val of_file : ?config:Types.config -> string -> Types.node
val to_string : Types.node -> string
val to_file : Types.node -> string -> unit
val noloc : Types.location
val node : ?format:Types.format -> ?loc:Types.location -> ?before:string list -> ?name:Types.key_path -> ?after:string -> ?pos:int -> Types.value -> Types.node
include module type of Internal_printer
val string_of_node : ?config:Types.config -> ?format:Types.format -> ?context:Types.context -> Types.node -> string
val string_of_key_path : Types.key_path -> string
val string_of_location : Types.location -> string
val string_of_error : Types.error -> string
include module type of Internal_accessors
val set : ?config:Types.config -> Types.node -> Types.key_path -> value:Types.node -> unit
val remove : ?config:Types.config -> Types.node -> Types.key_path -> unit
val update : ?config:Types.config -> Types.node -> Types.key_path -> Types.node option -> Types.node
val type_of_node : Types.node -> string
val add_comments : Types.node -> string list -> unit
val add_eol_comment : Types.node -> string -> unit
val value : ?before:string list -> ?pos:int -> Types.value -> Types.node
val string : ?before:string list -> ?pos:int -> string -> Types.node
val bool : ?before:string list -> ?pos:int -> bool -> Types.node
val int : ?before:string list -> ?pos:int -> int -> Types.node
val float : ?before:string list -> ?pos:int -> float -> Types.node
val date : ?before:string list -> ?pos:int -> float -> Types.node
val array : ?before:string list -> ?pos:int -> Types.node array -> Types.node
val table : ?before:string list -> ?pos:int -> Types.table -> Types.node
val empty_table : ?before:string list -> ?pos:int -> unit -> Types.node
val table_of_list : ?before:string list -> ?pos:int -> (string * Types.node) list -> Types.node
val set_string : ?before:string list -> ?pos:int -> Types.node -> Types.key_path -> string -> unit
val set_bool : ?before:string list -> ?pos:int -> Types.node -> Types.key_path -> bool -> unit
val set_int : ?before:string list -> ?pos:int -> Types.node -> Types.key_path -> int -> unit
val set_float : ?before:string list -> ?pos:int -> Types.node -> Types.key_path -> float -> unit
val set_date : ?before:string list -> ?pos:int -> Types.node -> Types.key_path -> float -> unit
val set_array : ?before:string list -> ?pos:int -> Types.node -> Types.key_path -> Types.node array -> unit
val set_table : ?before:string list -> ?pos:int -> Types.node -> Types.key_path -> Types.table -> unit
val set_value : ?before:string list -> ?pos:int -> Types.node -> Types.key_path -> Types.value -> unit
val set_table_of_list : ?before:string list -> ?pos:int -> Types.node -> Types.key_path -> (string * Types.node) list -> unit
val set_strings : ?before:string list -> ?pos:int -> Types.node -> Types.key_path -> string array -> unit
val set_ints : ?before:string list -> ?pos:int -> Types.node -> Types.key_path -> int array -> unit
val extract_value : Types.node -> Types.value
val extract_string : Types.node -> string
val extract_bool : Types.node -> bool
val extract_int : Types.node -> int
val extract_float : Types.node -> float
val extract_date : Types.node -> float
val extract_array : Types.node -> Types.node array
val extract_table : Types.node -> Types.table
val extract_ints : Types.node -> int array
val extract_strings : Types.node -> string array
val get_string : ?default:string -> Types.node -> Types.key_path -> string
val get_bool : ?default:bool -> Types.node -> Types.key_path -> bool
val get_int : ?default:int -> Types.node -> Types.key_path -> int
val get_float : ?default:float -> Types.node -> Types.key_path -> float
val get_date : ?default:float -> Types.node -> Types.key_path -> float
val get_array : ?default:Types.node array -> Types.node -> Types.key_path -> Types.node array
val get_table : ?default:Types.table -> Types.node -> Types.key_path -> Types.table
val get_value : ?default:Types.value -> Types.node -> Types.key_path -> Types.value
val get_strings : ?default:string array -> Types.node -> Types.key_path -> string array
val get_ints : ?default:int array -> Types.node -> Types.key_path -> int array
val table_iter : Types.node -> (string -> Types.node -> unit) -> unit
val array_iteri : Types.node -> (int -> Types.node -> unit) -> unit
val array_length : Types.node -> int
val next_section_pos : Types.node -> int
val maybe_add_section : ?before:string list -> string -> Types.node -> bool
val maybe_set_value : ?before:string list -> Types.node -> Types.key_path -> Types.value -> bool
val type_of_value : Types.value -> string
val set_node_value : Types.node -> Types.value -> unit
val get_node_value : Types.node -> Types.value
val value_of_string : string -> Types.value
val value_of_int : int -> Types.value
val value_of_bool : bool -> Types.value
val value_of_float : float -> Types.value
val value_of_date : float -> Types.value
val value_of_array : Types.node array -> Types.value
val value_of_table : Types.node EzCompat.StringMap.t -> Types.value
val value_of_strings : string array -> Types.value
val value_of_ints : int array -> Types.value