module Atd_print: sig
.. end
Pretty-printing of ATD data
val default_annot : Atd_ast.annot_section -> Easy_format.t
val format : ?annot:(Atd_ast.annot_section -> Easy_format.t) ->
Atd_ast.full_module -> 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.
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.