Module Merlin_analysis.Misc_utilsSource
Source
val parse_identifier :
(Merlin_kernel.Mconfig.t * Merlin_kernel.Msource.t) ->
Lexing.position ->
Ocaml_typing.Unit_info.modname Ocaml_parsing.Location.loc listparse_identifier attempts to re-parse a longident so that we get the location of each of its components.
Source
val reconstruct_identifier :
Merlin_kernel.Mpipeline.t ->
Lexing.position ->
(string * int) option ->
string Ocaml_parsing.Location.loc listreconstruct_identifier pipeline pos returns growing ranges around pos and the associated identifier.