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 : Stdlib.Lexing.position -> Stdlib.Lexing.position -> t
val equal : 'a -> 'a -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val pp_opt : Stdlib.Format.formatter -> t option -> unit
val pp_to_string : (Stdlib.Format.formatter -> 'a -> 'b) -> 'c -> string
val to_string_opt : t option -> string

Lexbuf

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