2016-02-18 07:11:59 -08:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* OCaml *)
|
|
|
|
(* *)
|
|
|
|
(* Jerome Vouillon, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* OCaml port by John Malecki and Xavier Leroy *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 1996 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. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
1996-11-29 08:55:09 -08:00
|
|
|
|
2000-03-06 14:12:09 -08:00
|
|
|
open Format
|
|
|
|
|
1996-11-29 08:55:09 -08:00
|
|
|
(* Convert environment summaries to environments *)
|
|
|
|
|
2012-07-30 03:00:10 -07:00
|
|
|
val env_from_summary : Env.summary -> Subst.t -> Env.t
|
1996-11-29 08:55:09 -08:00
|
|
|
|
|
|
|
(* Empty the environment caches. To be called when load_path changes. *)
|
|
|
|
|
|
|
|
val reset_cache: unit -> unit
|
1997-03-25 07:29:39 -08:00
|
|
|
|
2012-07-12 04:02:18 -07:00
|
|
|
val env_of_only_summary : Env.t -> Env.t
|
|
|
|
|
1997-03-25 07:29:39 -08:00
|
|
|
(* Error report *)
|
|
|
|
|
|
|
|
type error =
|
|
|
|
Module_not_found of Path.t
|
|
|
|
|
|
|
|
exception Error of error
|
|
|
|
|
2000-03-06 14:12:09 -08:00
|
|
|
val report_error: formatter -> error -> unit
|