/usr/lib/ocaml/atd/atd_print.mli is in libatd-ocaml-dev 1.1.2-1build4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | (** 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.
@param 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. *)
|