package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

merlin-5.8.1-505.tbz
sha256=b8fb32bc0fc092af2fd6bdc831cb966057f2e3fd7b99a172b705e96ba8082583
sha512=01ca96f8167d062ba24036e43f650ff958fb157d44867bd52eb7999b7d19bf9fc97cdcd46c04b6979f0e1149d5041047723eed5913b03c4404d7acb116183bee

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.