package ocamlformat-lib

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

Module Extended_ast.PrintastSource

include module type of Ocamlformat_parser_extended.Printast
Sourceval fmt_position : bool -> Format.formatter -> Lexing.position -> unit
Sourceval curr_indent : int ref
Sourceval line : int -> Format.formatter -> ('a, Format.formatter, unit) format -> 'a
Sourcetype 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;
}
Sourceval cmts : cmts option ref
Sourceval fmt_cmts : int -> Format.formatter -> string -> string list option -> unit
Sourceval fmt_string_loc : Format.formatter -> string Ocamlformat_ocaml_common.Location.loc -> unit
Sourceval fmt_str_opt_loc : Format.formatter -> string option Ocamlformat_ocaml_common.Location.loc -> unit
Sourceval fmt_char_option : Format.formatter -> char option -> unit
Sourceval fmt_opt : (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a option -> unit
Sourceval list : int -> (int -> Format.formatter -> 'a -> unit) -> Format.formatter -> 'a list -> unit
Sourceval option : int -> (int -> Format.formatter -> 'a -> unit) -> Format.formatter -> 'a option -> unit
Sourceval string : int -> Format.formatter -> string -> unit
Sourceval string_loc : int -> Format.formatter -> string Ocamlformat_ocaml_common.Location.loc -> unit
Sourceval str_opt_loc : int -> Format.formatter -> string option Ocamlformat_ocaml_common.Location.loc -> unit
Sourceval class_infos : 'a. string -> (int -> Format.formatter -> 'a -> unit) -> int -> Format.formatter -> 'a Ocamlformat_parser_extended.Parsetree.class_infos -> unit
Sourceval modtype_declaration : int -> Format.formatter -> Ocamlformat_parser_extended.Parsetree.module_type option -> unit
Sourceval open_infos : 'a. string -> (int -> Format.formatter -> 'a -> unit) -> int -> Format.formatter -> 'a Ocamlformat_parser_extended.Parsetree.open_infos -> unit
Sourceval include_infos : 'a. string -> (int -> Format.formatter -> 'a -> unit) -> int -> Format.formatter -> 'a Ocamlformat_parser_extended.Parsetree.include_infos -> unit
OCaml

Innovation. Community. Security.