VernacControltype 'state control_entries = 'state control_entry listval from_syntax : Vernacexpr.control_flag list -> unit control_entriesTranslate from syntax and add default timeout.
with_local_state state0 f should run f with state0 installed, capture the state produced by running f and revert the global state afterwards.
val trivial_state : (unit, unit) with_local_stateval under_control : loc:Loc.t option -> with_local_state:('state0, 'state) with_local_state ->
'state0 control_entries -> noop:'b -> (unit -> 'b) -> 'state control_entries * 'bunder_control ~loc ~with_local_state control ~noop f runs f () in the context given by the control.
If the control cause execution to end with no more work to be done and no error (eg Fail when f raised an exception) then noop is returned.
val after_last_phase : loc:Loc.t option -> _ control_entries -> boolPrint any final messages (eg from Time) and raise final exceptions (eg from Fail when the command did not fail). The returned boolean tells if we should be noop (Fail where the command failed or Succeed where it succeeded).