package ppx_expect_nobase

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

Module File.LocationSource

Sourcetype 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
Sourceval t_of_sexp : Sexplib0__.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0__.Sexp.t
Sourceval compare : t -> t -> int
Sourceval beginning_of_file : File.Name.t -> t
Sourceval of_source_code_position : Lexing.position -> t
Sourceval equal : t -> t -> bool