package dune-private-libs

  1. Overview
  2. Docs
Private libraries of Dune

Install

Dune Dependency

Authors

Maintainers

Sources

dune-2.5.1.tbz
sha256=8f77d3a87f208e0d7cccaa1c48c4bb1bb87d62d07c3f25e9b8ba298e028ce52b
sha512=f209f12ced10c1abf8782bdb0143f4cec77795f7174d2cc75130afb1e01550b01f2f77b9e3ec4888efdad83d2f9878d179b39126f824f4e522f3ef4da34bf27e

doc/dune-private-libs.stdune/Stdune/Loc/index.html

Module Stdune.Loc

type t = {
  1. start : Lexing.position;
  2. stop : Lexing.position;
}
val none_pos : string -> Lexing.position
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 dyn_of_position_no_file : Lexing.position -> Dyn.t
val equal : t -> t -> bool
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 -> unit 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 span : t -> t -> t
OCaml

Innovation. Community. Security.