package stdune

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val to_lexbuf_loc : t -> Lexbuf.Loc.t
val of_lexbuf_loc : Lexbuf.Loc.t -> t
val start : t -> Lexing.position
val map_pos : t -> f:(Lexing.position -> Lexing.position) -> t
val create : start:Lexing.position -> stop:Lexing.position -> t
val set_stop : t -> Lexing.position -> t
val set_start : t -> Lexing.position -> t
val stop : t -> Lexing.position
val equal : t -> t -> bool
val start_pos_cnum : t -> int
val stop_pos_cnum : t -> int
module Map : sig ... end
val in_file : Path.t -> t
val in_dir : Path.t -> t
val none : t
val is_none : t -> bool
val drop_position : t -> t
val of_lexbuf : Lexing.lexbuf -> t
val to_dyn : t -> Dyn.t
val of_pos : (string * int * int * int) -> t

To be used with __POS__

val to_file_colon_line : t -> string
val pp_file_colon_line : t -> 'a Pp.t
val to_dyn_hum : t -> Dyn.t
type tag =
  1. | Loc
val pp : t -> tag Pp.t
val render : Format.formatter -> tag Pp.t -> unit
val on_same_line : t -> t -> bool
val compare : t -> t -> Ordering.t
val span : t -> t -> t
val set_start_to_stop : t -> t
OCaml

Innovation. Community. Security.