2016-02-18 07:11:59 -08:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* OCaml *)
|
|
|
|
(* *)
|
|
|
|
(* Damien Doligez, projet Para, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 1999 Institut National de Recherche en Informatique et *)
|
|
|
|
(* en Automatique. *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. This file is distributed under the terms of *)
|
|
|
|
(* the GNU Lesser General Public License version 2.1, with the *)
|
|
|
|
(* special exception on linking described in the file LICENSE. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
1999-11-29 11:04:43 -08:00
|
|
|
|
2018-09-12 00:51:47 -07:00
|
|
|
(** Raw printer for {!Parsetree}
|
|
|
|
|
|
|
|
{b Warning:} this module is unstable and part of
|
2018-09-12 06:36:40 -07:00
|
|
|
{{!Compiler_libs}compiler-libs}.
|
2018-09-12 00:51:47 -07:00
|
|
|
|
|
|
|
*)
|
|
|
|
|
1999-11-29 11:04:43 -08:00
|
|
|
open Parsetree;;
|
2000-03-06 14:12:09 -08:00
|
|
|
open Format;;
|
1999-11-29 11:04:43 -08:00
|
|
|
|
2000-03-06 14:12:09 -08:00
|
|
|
val interface : formatter -> signature_item list -> unit;;
|
|
|
|
val implementation : formatter -> structure_item list -> unit;;
|
|
|
|
val top_phrase : formatter -> toplevel_phrase -> unit;;
|
2013-03-25 07:16:07 -07:00
|
|
|
|
|
|
|
val expression: int -> formatter -> expression -> unit
|
2013-04-19 00:40:57 -07:00
|
|
|
val structure: int -> formatter -> structure -> unit
|
2013-07-22 07:58:15 -07:00
|
|
|
val payload: int -> formatter -> payload -> unit
|