Module SlicingState

module SlicingState: sig .. end

State of the slicing.


val get : unit -> SlicingTypes.sl_project

Get the state of the slicing project. Assume it has already been initialized through Db.Slicing.reset_slice.

val may : (unit -> unit) -> unit

apply the given closure if the slicing project has been initialized through Db.Slicing.reset_slice.

val may_map : none:'a -> (unit -> 'a) -> 'a

apply the given closure if the slicing project has been initialized through Db.Slicing.reset_slice, or else return the default value.

val self : State.t

Internal state of the slicing tool from project viewpoints.

val reset_slicing : unit -> unit

Function that can be used for: