package stdune

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. start : Stdlib.Lexing.position;
  2. stop : Stdlib.Lexing.position;
}
val to_dyn : t -> Dyn.t
val compare : t -> t -> Ordering.t
val equal : t -> t -> bool
val map_pos : t -> f:(Position.t -> Position.t) -> t
val in_file : fname:string -> t
val is_file_only : t -> bool
val of_pos : (string * int * int * int) -> t

To be used with __POS__

val none : t
OCaml

Innovation. Community. Security.