package tip-parser

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Locations

type t = {
  1. file : string;
  2. start_line : int;
  3. start_column : int;
  4. stop_line : int;
  5. 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) -> 'c -> string
val to_string_opt : t option -> string

Lexbuf

val set_file : Lexing.lexbuf -> string -> unit
val get_file : Lexing.lexbuf -> string
val of_lexbuf : Lexing.lexbuf -> t