Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Module to manipulate imperative state of the typechecker.
type t = {
verbose : int;
Verbosity level.
*)loggers : string;
Loggers enabled.
*)bflags : bool Lplib.Extra.StrMap.t;
Boolean flags.
*)}
Settings used to compile files.
val saved : t list Timed.ref
Stack of saved state for verbosity, loggers and boolean flags.
push ()
saves the current state of verbose
, the loggers, and the boolean flags, pushing it to the stack.
val apply : t -> unit
apply st
restores the setting in st
.