package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

merlin-5.6-503.tbz
sha256=b0dcad092aaaf7a23f65ab9a089e8761bd665cc72357909e0ac6c2182f4fc2d4
sha512=9987baf2b2e82bab4c90a328bfcba9945e797e0f3d947156f04435ee84b49542844b379e35a79027c3ffe81f4b7a8f1c60803233999b4c039d4598033371880d

doc/merlin-lib.analysis/Merlin_analysis/Misc_utils/index.html

Module Merlin_analysis.Misc_utilsSource

Sourcemodule Path : sig ... end
Sourceval parenthesize_name : string -> string

parse_identifier attempts to re-parse a longident so that we get the location of each of its components.

Sourceval reconstruct_identifier : Merlin_kernel.Mpipeline.t -> Lexing.position -> (string * int) option -> string Ocaml_parsing.Location.loc list

reconstruct_identifier pipeline pos returns growing ranges around pos and the associated identifier.