Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type t =
| TomlString of string
| TomlInteger of toml_integer
| TomlFloat of toml_float
| TomlBoolean of bool
| TomlOffsetDateTime of toml_date
| TomlLocalDateTime of toml_date
| TomlLocalDate of toml_date
| TomlLocalTime of toml_date
| TomlArray of t list
| TomlTable of (string * t) list
| TomlInlineTable of (string * t) list
| TomlTableArray of t list
module Printer : sig ... end
module Parser : sig ... end
Constructors
val string : string -> t
val integer : toml_integer -> t
val float : toml_float -> t
val boolean : bool -> t
Accessors
In non-strict mode, forces a value x
to a single-item array [x]
val get_string : ?strict:bool -> t -> string
val get_integer : ?strict:bool -> t -> toml_integer
val get_float : ?strict:bool -> t -> toml_float
val get_boolean : ?strict:bool -> t -> bool
High-level interface
val list_table_keys : t -> string list