package stdune

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

Module Stdune.LocSource

Sourcetype t
Sourceval to_lexbuf_loc : t -> Lexbuf.Loc.t
Sourceval of_lexbuf_loc : Lexbuf.Loc.t -> t
Sourceval start : t -> Lexing.position
Sourceval map_pos : t -> f:(Lexing.position -> Lexing.position) -> t
Sourceval create : start:Lexing.position -> stop:Lexing.position -> t
Sourceval set_stop : t -> Lexing.position -> t
Sourceval set_start : t -> Lexing.position -> t
Sourceval stop : t -> Lexing.position
Sourceval equal : t -> t -> bool
Sourceval start_pos_cnum : t -> int
Sourceval stop_pos_cnum : t -> int
Sourcemodule Map : sig ... end
Sourceval in_file : Path.t -> t
Sourceval in_dir : Path.t -> t
Sourceval none : t
Sourceval is_none : t -> bool
Sourceval drop_position : t -> t
Sourceval of_lexbuf : Lexing.lexbuf -> t
Sourceval to_dyn : t -> Dyn.t
Sourceval of_pos : (string * int * int * int) -> t

To be used with __POS__

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

Innovation. Community. Security.