Merlin_analysis.Misc_utils
Sourceval parse_identifier :
(Merlin_kernel.Mconfig.t * Merlin_kernel.Msource.t) ->
Lexing.position ->
Merlin_utils.Misc.modname Ocaml_parsing.Location.loc list
parse_identifier
attempts to re-parse a longident so that we get the location of each of its components.
val 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.