package merlin-lib
Module Merlin_analysis.OcamldocSource
Source
val associate_comments :
source:string option ->
after_only:bool ->
(string * Ocaml_parsing.Location.t) list ->
Ocaml_parsing.Location.t ->
string optionassociate_comments ~source ~after_only comments loc finds the doc comments in comments associated with the declaration at loc. source is the text of the document, which is used to help associate comments correctly. If source is None, some comments may be incorrectly associated.