Module Tip_lexer.Loc

module Loc: Tip_loc

type t = {
   file : string;
   start_line : int;
   start_column : int;
   stop_line : int;
   stop_column : int;
}
val mk : string -> int -> int -> int -> int -> t
val mk_pair : string -> int * int -> int * int -> t
val mk_pos : Lexing.position -> Lexing.position -> t
val equal : 'a -> 'a -> bool
val pp : Format.formatter -> t -> unit
val pp_opt : Format.formatter -> t option -> unit
val pp_to_string : (Format.formatter -> 'a -> 'b) -> 'a -> string
val to_string_opt : t option -> string
val set_file : Lexing.lexbuf -> string -> unit
val get_file : Lexing.lexbuf -> string
val of_lexbuf : Lexing.lexbuf -> t