package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

Dune Dependency

Authors

Maintainers

Sources

merlin-4.14-500.tbz
sha256=ec23f324f875520cd8897f303cc6d4e595f3d7000914d410729f16b86ad1d70e
sha512=8db22100cc0af65b08f456a2a7af84e75396f5869ee7552f1f5888a1c0279d1d85e6eecb3a677ae6f0973a99823cddba0563843ce216197255667342ef161885

doc/merlin-lib.ocaml_parsing/Ocaml_parsing/Location_aux/index.html

Module Ocaml_parsing.Location_auxSource

Sourcetype t = Location.t = {
  1. loc_start : Lexing.position;
  2. loc_end : Lexing.position;
  3. loc_ghost : bool;
}
Sourceval compare : t -> t -> int

compare l1 l2 compares start positions, if equal compares end positions

Sourceval compare_pos : Lexing.position -> t -> int
Sourceval union : t -> t -> t

Return the smallest location covered by both arguments, ghost if both are ghosts

Sourceval extend : t -> t -> t

Like location_union, but keep loc_ghost'ness of first argument

Sourceval prepare_errors : exn list -> Location.error list

Filter valid errors, log invalid ones

Dump

Sourceval print : unit -> t -> string
Sourceval print_loc : (unit -> 'a -> string) -> unit -> 'a Location.loc -> string
Sourceval is_relaxed_location : string Location.loc -> bool
OCaml

Innovation. Community. Security.

On This Page
  1. Dump