package ocamlformat

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of Parser_extended.Printast
val interface : Stdlib.Format.formatter -> Parser_extended.Parsetree.signature_item list -> unit
val implementation : Stdlib.Format.formatter -> Parser_extended.Parsetree.structure_item list -> unit
val top_phrase : Stdlib.Format.formatter -> Parser_extended.Parsetree.toplevel_phrase -> unit
val repl_phrase : Stdlib.Format.formatter -> Parser_extended.Parsetree.repl_phrase -> unit
val expression : Stdlib.Format.formatter -> Parser_extended.Parsetree.expression -> unit
val structure : int -> Stdlib.Format.formatter -> Parser_extended.Parsetree.structure -> unit
val payload : Stdlib.Format.formatter -> Parser_extended.Parsetree.payload -> unit
val core_type : Stdlib.Format.formatter -> Parser_extended.Parsetree.core_type -> unit
val module_type : Stdlib.Format.formatter -> Parser_extended.Parsetree.module_type -> unit
val pattern : Stdlib.Format.formatter -> Parser_extended.Parsetree.pattern -> unit
val type_declaration : Stdlib.Format.formatter -> Parser_extended.Parsetree.type_declaration -> unit
val value_binding : Stdlib.Format.formatter -> Parser_extended.Parsetree.value_binding -> unit
val class_expr : Stdlib.Format.formatter -> Parser_extended.Parsetree.class_expr -> unit
val class_type : Stdlib.Format.formatter -> Parser_extended.Parsetree.class_type -> unit
val class_field : Stdlib.Format.formatter -> Parser_extended.Parsetree.class_field -> unit
val class_type_field : Stdlib.Format.formatter -> Parser_extended.Parsetree.class_type_field -> unit
val module_expr : Stdlib.Format.formatter -> Parser_extended.Parsetree.module_expr -> unit
val structure_item : Stdlib.Format.formatter -> Parser_extended.Parsetree.structure_item -> unit
val signature_item : Stdlib.Format.formatter -> Parser_extended.Parsetree.signature_item -> unit
type cmts = {
  1. before : Ocaml_common.Location.t -> string list option;
  2. within : Ocaml_common.Location.t -> string list option;
  3. after : Ocaml_common.Location.t -> string list option;
}
val cmts : cmts option Stdlib.ref
val ast : 'a t -> Ocamlformat_stdlib.Format.formatter -> 'a -> Ocamlformat_stdlib.unit