package ostap

  1. Overview
  2. Docs

Module Trap.MakeSource

Trap constructor.

Parameters

module X : Trapped

Signature

Sourcetype t = X.t

Type of trapped items.

Sourceval attach : t -> Msg.Locator.t -> unit

attach x loc attaches loc to item x.

Sourceval locate : t -> Msg.Locator.t

locate x gets the location for x.

Sourceval copier : t -> t -> unit

copier x returns copying function which will preserve trap information.

Sourceval cleanup : unit -> unit

Cleans up all the trapping information.

OCaml

Innovation. Community. Security.