package ppx_expect_nobase

  1. Overview
  2. Docs
type t = {
  1. filename : File.Name.t;
  2. line_number : int;
  3. line_start : int;
  4. start_pos : int;
  5. end_pos : int;
}

Location within a file

include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val compare : t -> t -> int
val beginning_of_file : File.Name.t -> t
val of_source_code_position : Lexing.position -> t
val equal : t -> t -> bool
OCaml

Innovation. Community. Security.