Merlin_analysis.Ocamldoc
Sourceval associate_comment :
after_only:bool ->
(string * Ocaml_parsing.Location.t) list ->
Ocaml_parsing.Location.t ->
Ocaml_parsing.Location.t ->
string option * (string * Ocaml_parsing.Location.t) list
Pops comments from a list of comments (string * loc) to find the ones that are associated to a given location. Also returns the remaining comments after the location.