package ocamlformat-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of Ocamlformat_parser_extended.Printast
val fmt_position : bool -> Format.formatter -> Lexing.position -> unit
val curr_indent : int ref
val line : int -> Format.formatter -> ('a, Format.formatter, unit) format -> 'a
type cmts = {
  1. before : Ocamlformat_ocaml_common.Location.t -> string list option;
  2. within : Ocamlformat_ocaml_common.Location.t -> string list option;
  3. after : Ocamlformat_ocaml_common.Location.t -> string list option;
}
val cmts : cmts option ref
val fmt_cmts : int -> Format.formatter -> string -> string list option -> unit
val fmt_longident_aux : Format.formatter -> Ocamlformat_ocaml_common.Longident.t -> unit
val fmt_string_loc : Format.formatter -> string Ocamlformat_ocaml_common.Location.loc -> unit
val fmt_str_opt_loc : Format.formatter -> string option Ocamlformat_ocaml_common.Location.loc -> unit
val fmt_char_option : Format.formatter -> char option -> unit
val fmt_opt : (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a option -> unit
val list : int -> (int -> Format.formatter -> 'a -> unit) -> Format.formatter -> 'a list -> unit
val option : int -> (int -> Format.formatter -> 'a -> unit) -> Format.formatter -> 'a option -> unit
val string : int -> Format.formatter -> string -> unit
val string_loc : int -> Format.formatter -> string Ocamlformat_ocaml_common.Location.loc -> unit
val str_opt_loc : int -> Format.formatter -> string option Ocamlformat_ocaml_common.Location.loc -> unit
val attribute : int -> Format.formatter -> string -> Ocamlformat_parser_extended.Parsetree.attribute -> unit
val class_infos : 'a. string -> (int -> Format.formatter -> 'a -> unit) -> int -> Format.formatter -> 'a Ocamlformat_parser_extended.Parsetree.class_infos -> unit
val modtype_declaration : int -> Format.formatter -> Ocamlformat_parser_extended.Parsetree.module_type option -> unit
val open_infos : 'a. string -> (int -> Format.formatter -> 'a -> unit) -> int -> Format.formatter -> 'a Ocamlformat_parser_extended.Parsetree.open_infos -> unit
val include_infos : 'a. string -> (int -> Format.formatter -> 'a -> unit) -> int -> Format.formatter -> 'a Ocamlformat_parser_extended.Parsetree.include_infos -> unit
OCaml

Innovation. Community. Security.