1995-08-09 08:06:35 -07:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
1996-04-30 07:53:58 -07:00
|
|
|
(* Objective Caml *)
|
1995-08-09 08:06:35 -07:00
|
|
|
(* *)
|
|
|
|
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
1996-04-30 07:53:58 -07:00
|
|
|
(* Copyright 1996 Institut National de Recherche en Informatique et *)
|
1995-08-09 08:06:35 -07:00
|
|
|
(* Automatique. Distributed only by permission. *)
|
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(* $Id$ *)
|
|
|
|
|
1995-05-04 03:15:53 -07:00
|
|
|
(* Source code locations, used in parsetree *)
|
|
|
|
|
|
|
|
type t =
|
|
|
|
{ loc_start: int; loc_end: int }
|
|
|
|
|
|
|
|
val none: t
|
|
|
|
val symbol_loc: unit -> t
|
|
|
|
val rhs_loc: int -> t
|
|
|
|
|
|
|
|
val input_name: string ref
|
|
|
|
val input_lexbuf: Lexing.lexbuf option ref
|
|
|
|
|
|
|
|
val print: t -> unit
|
|
|
|
val print_warning: t -> string -> unit
|
1997-04-15 12:18:41 -07:00
|
|
|
val echo_eof: unit -> unit
|
1995-09-08 01:55:59 -07:00
|
|
|
val reset: unit -> unit
|
1997-11-12 04:32:53 -08:00
|
|
|
|
|
|
|
val highlight_locations: t -> t -> bool
|