31 lines
1.1 KiB
OCaml
31 lines
1.1 KiB
OCaml
(***********************************************************************)
|
|
(* *)
|
|
(* Objective Caml *)
|
|
(* *)
|
|
(* Xavier Leroy, projet Gallium, INRIA Rocquencourt *)
|
|
(* *)
|
|
(* Copyright 2006 Institut National de Recherche en Informatique et *)
|
|
(* en Automatique. All rights reserved. This file is distributed *)
|
|
(* under the terms of the Q Public License version 1.0. *)
|
|
(* *)
|
|
(***********************************************************************)
|
|
|
|
type kind = Dinfo_call | Dinfo_raise
|
|
|
|
type t = {
|
|
dinfo_kind: kind;
|
|
dinfo_file: string;
|
|
dinfo_line: int;
|
|
dinfo_char_start: int;
|
|
dinfo_char_end: int
|
|
}
|
|
|
|
val none: t
|
|
|
|
val to_string: t -> string
|
|
|
|
val from_location: kind -> Location.t -> t
|
|
|
|
val from_call: Lambda.lambda_event -> t
|
|
val from_raise: Lambda.lambda_event -> t
|