package atd

  1. Overview
  2. Docs

Pretty-printing of ATD data

val default_annot : Atd_ast.annot_section -> Easy_format.t

Pretty-printing. Use the functions of the Easy_format.Pretty module to convert an Easy_format.t into a string or add it to a channel or buffer.

  • parameter annot

    can be used to specify another way of formatting annotations. The default is available as default_format_annot.

val string_of_type_name : string -> Atd_ast.type_expr list -> Atd_ast.annot -> string

Convert a type name with its arguments and its annotations into a string.

val string_of_type_expr : Atd_ast.type_expr -> string
OCaml

Innovation. Community. Security.