package ocamlformat-mlx-lib

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

Module Ocamlformat_lib.Fmt_odocSource

Sourcetype fmt_code = Conf.t -> offset:Ocamlformat_stdlib.int -> set_margin:Ocamlformat_stdlib.bool -> Ocamlformat_stdlib.string -> (Fmt.t, [ `Msg of Ocamlformat_stdlib.string ]) Ocamlformat_stdlib.Result.t

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

Sourceval fmt_parsed : Conf.t -> ?trailing_space:Fmt.t -> fmt_code:fmt_code -> input:Ocamlformat_stdlib.string -> offset:Ocamlformat_stdlib.int -> (Ocamlformat_odoc_parser.Ast.t, Ocamlformat_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.