Printast(3) OCaml library Printast(3)

# [NAME](#NAME)

Printast - Raw printer for Parsetree

# [Module](#Module)

Module Printast

# [Documentation](#Documentation)

Module **Printast**  
: **sig end**

Raw printer for **Parsetree**

Warning: this module is unstable and part of **Compiler\_libs** .

*val interface* : **Format.formatter -&gt; Parsetree.signature\_item list -&gt; unit**

*val implementation* : **Format.formatter -&gt; Parsetree.structure\_item list -&gt; unit**

*val top\_phrase* : **Format.formatter -&gt; Parsetree.toplevel\_phrase -&gt; unit**

*val expression* : **int -&gt; Format.formatter -&gt; Parsetree.expression -&gt; unit**

*val structure* : **int -&gt; Format.formatter -&gt; Parsetree.structure -&gt; unit**

*val payload* : **int -&gt; Format.formatter -&gt; Parsetree.payload -&gt; unit**

2026-10-27 OCamldoc

---

Document: Printast(3o) from ocaml-4 4.14.4-r4 (Chainguard OS)
Source: https://github.com/ocaml/ocaml
