package dune

  1. Overview
  2. Docs
Fast, portable and opinionated build system

Install

Dune Dependency

Authors

Maintainers

Sources

dune-1.9.3.tbz
sha256=317bec6de4429b5dee157e9864294e1534b722a2acfc50480bd16c804ab790ca
sha512=17450333156622d4612816f9ad5a224c741d62b247d63c1d77b5359d37517c1f9bc598dd11fa024f4e02ccf7eef474cd532eef1d9c34ed13439db6c781f9fa7a

doc/dune._stdune/Stdune/Loc/index.html

Module Stdune.Loc

type t = {
  1. start : Lexing.position;
  2. stop : Lexing.position;
}
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_sexp : t -> Sexp.t
val to_dyn : t -> Dyn.t
val sexp_of_position_no_file : Lexing.position -> Sexp.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 : Format.formatter -> t -> unit
val print : Format.formatter -> t -> unit
val pp_file_excerpt : context_lines:int -> max_lines_to_print_in_full:int -> Format.formatter -> t -> unit
val on_same_line : t -> t -> bool
OCaml

Innovation. Community. Security.