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.