Module Melange_compiler_libs.Printast

Raw printer for Parsetree

Warning: this module is unstable and part of compiler-libs.

let interface: Stdlib.Format.formatter => list(Parsetree.signature_item) => unit;
let implementation: Stdlib.Format.formatter => list(Parsetree.structure_item) => unit;
let top_phrase: Stdlib.Format.formatter => Parsetree.toplevel_phrase => unit;
let expression: int => Stdlib.Format.formatter => Parsetree.expression => unit;
let structure: int => Stdlib.Format.formatter => Parsetree.structure => unit;
let payload: int => Stdlib.Format.formatter => Parsetree.payload => unit;