package ocamlformat-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

offset is the column at which the content of the comment begins. It is used to adjust the margin.

val fmt_ast : Conf.t -> fmt_code:fmt_code -> Odoc_parser.Ast.t -> Fmt.t
val fmt_parsed : Conf.t -> fmt_code:fmt_code -> input:Ocamlformat_stdlib.string -> offset:Ocamlformat_stdlib.int -> (Odoc_parser.Ast.t, Odoc_parser.Warning.t Ocamlformat_stdlib.list) Ocamlformat_stdlib.Result.t -> Fmt.t

source is the global source in which the locations in the AST make sense. input is the content of the doc-comment.

OCaml

Innovation. Community. Security.