package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

merlin-5.7.0-504.tbz
sha256=74ccc86a0942219d260c38452b7a4e24162543086d5dc52f8da2e2c529f7eb94
sha512=9c36ed948b7d3502bb390917483004585ae5e715152f685d92caca9eed1b33663079743fe8319ec4133bc8c096fbe374ef6a006a6cb5531fccdbe2677eabf37b

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.