
(* The type of tokens. *)

type token = 
  | STRING of (string)
  | RBRACK
  | RBRACE
  | LBRACK
  | LBRACE
  | KEY of (string)
  | INTEGER of (int)
  | FLOAT of (float)
  | EQUAL
  | EOF
  | DOT
  | DATE of (float)
  | COMMA
  | BOOL of (bool)

(* This exception is raised by the monolithic API functions. *)

exception Error

(* The monolithic API. *)

val toml: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Types.table)
