package ocamlformat-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val fmt_before : t -> Conf.t -> fmt_code:(Conf.t -> Fmt.code_formatter) -> Ocaml_common.Location.t -> Fmt.t

fmt_before loc formats the comments associated with loc that appear before loc.

val fmt_after : t -> Conf.t -> fmt_code:(Conf.t -> Fmt.code_formatter) -> Ocaml_common.Location.t -> Fmt.t

fmt_after loc formats the comments associated with loc that appear after loc.

OCaml

Innovation. Community. Security.