package ocamlformat

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of Ocaml_413.Pprintast
type space_formatter = (unit, Stdlib.Format.formatter, unit) Stdlib.format
val longident : Stdlib.Format.formatter -> Ocaml_common.Longident.t -> unit
val expression : Stdlib.Format.formatter -> Ocaml_413.Parsetree.expression -> unit
val string_of_expression : Ocaml_413.Parsetree.expression -> string
val pattern : Stdlib.Format.formatter -> Ocaml_413.Parsetree.pattern -> unit
val core_type : Stdlib.Format.formatter -> Ocaml_413.Parsetree.core_type -> unit
val signature : Stdlib.Format.formatter -> Ocaml_413.Parsetree.signature -> unit
val structure : Stdlib.Format.formatter -> Ocaml_413.Parsetree.structure -> unit
val string_of_structure : Ocaml_413.Parsetree.structure -> string
val module_expr : Stdlib.Format.formatter -> Ocaml_413.Parsetree.module_expr -> unit
val toplevel_phrase : Stdlib.Format.formatter -> Ocaml_413.Parsetree.toplevel_phrase -> unit
val top_phrase : Stdlib.Format.formatter -> Ocaml_413.Parsetree.toplevel_phrase -> unit
val class_field : Stdlib.Format.formatter -> Ocaml_413.Parsetree.class_field -> unit
val class_type_field : Stdlib.Format.formatter -> Ocaml_413.Parsetree.class_type_field -> unit
val class_expr : Stdlib.Format.formatter -> Ocaml_413.Parsetree.class_expr -> unit
val class_type : Stdlib.Format.formatter -> Ocaml_413.Parsetree.class_type -> unit
val module_type : Stdlib.Format.formatter -> Ocaml_413.Parsetree.module_type -> unit
val structure_item : Stdlib.Format.formatter -> Ocaml_413.Parsetree.structure_item -> unit
val signature_item : Stdlib.Format.formatter -> Ocaml_413.Parsetree.signature_item -> unit
val binding : Stdlib.Format.formatter -> Ocaml_413.Parsetree.value_binding -> unit
val payload : Stdlib.Format.formatter -> Ocaml_413.Parsetree.payload -> unit
val type_declaration : Stdlib.Format.formatter -> Ocaml_413.Parsetree.type_declaration -> unit
val tyvar : Stdlib.Format.formatter -> string -> unit

Print a type variable name, taking care of the special treatment required for the single quote character in second position.

val ast : 'a t -> Ocamlformat_stdlib.Format.formatter -> 'a -> Ocamlformat_stdlib.unit
OCaml

Innovation. Community. Security.