2017-07-21 07:43:36 -07:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* OCaml *)
|
|
|
|
(* *)
|
|
|
|
(* Sebastien Hinderer, projet Gallium, INRIA Paris *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 2016 Institut National de Recherche en Informatique et *)
|
|
|
|
(* en Automatique. *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. This file is distributed under the terms of *)
|
|
|
|
(* the GNU Lesser General Public License version 2.1, with the *)
|
|
|
|
(* special exception on linking described in the file LICENSE. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
2018-02-21 00:50:23 -08:00
|
|
|
(* Definition of environment variables *)
|
2017-07-21 07:43:36 -07:00
|
|
|
|
|
|
|
type t
|
|
|
|
|
|
|
|
val compare : t -> t -> int
|
|
|
|
|
|
|
|
exception Empty_variable_name
|
|
|
|
|
|
|
|
exception Variable_already_registered
|
|
|
|
|
2017-11-03 10:52:11 -07:00
|
|
|
exception No_such_variable of string
|
|
|
|
|
2017-07-21 07:43:36 -07:00
|
|
|
val make : string * string -> t
|
|
|
|
|
|
|
|
val name_of_variable : t -> string
|
|
|
|
|
|
|
|
val description_of_variable : t -> string
|
|
|
|
|
|
|
|
val register_variable : t -> unit
|
|
|
|
|
|
|
|
val find_variable : string -> t option
|