package stdune

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

Positions information that can be encoded within a single immediate

type t
val of_position : Lexbuf.Position.t -> t
val to_position : t -> fname:string -> Lexbuf.Position.t
val lnum : t -> int
val cnum : t -> int
val bol : t -> int
module Same_line_loc : sig ... end
type of_loc =
  1. | Same_line of Same_line_loc.t
  2. | Loc of {
    1. start : t;
    2. stop : t;
    }
  3. | Loc_does_not_fit
val of_loc : Lexbuf.Loc.t -> of_loc
module For_tests : sig ... end