glob.mli 1015 Bytes
Newer Older
1 2 3
(********************************************************************)
(*                                                                  *)
(*  The Why3 Verification Platform   /   The Why3 Development Team  *)
4
(*  Copyright 2010-2014   --   INRIA - CNRS - Paris-Sud University  *)
5 6 7 8 9 10
(*                                                                  *)
(*  This software is distributed under the terms of the GNU Lesser  *)
(*  General Public License version 2.1, with the special exception  *)
(*  on linking described in file LICENSE.                           *)
(*                                                                  *)
(********************************************************************)
11 12 13

open Ident

14 15 16
val flag: Debug.flag

val dummy_id: ident
17 18 19 20

val use: Loc.position -> ident -> unit
  (** [add loc id] registers that [id] was used at position [loc] *)

21 22 23
val locate: string * int * int -> ident
  (** [locate pos] returns the ident used at position [pos], if any,
      or raises [Not_found] *)