package merlin-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val 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.