summaryrefslogtreecommitdiff
path: root/src/pretty_print.mli
blob: 43680643752be6335dde102e6ecfb259bcddcdd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
open Ast
open Type_internal

(* Prints the defs following source syntax *)
val pp_defs : out_channel -> tannot defs -> unit
val pp_exp : Buffer.t -> exp -> unit
val pat_to_string : tannot pat -> string

(* Prints on formatter the defs as Lem Ast nodes *)
val pp_lem_defs : Format.formatter -> tannot defs -> unit

val pp_defs_ocaml : out_channel -> tannot defs -> string -> string list -> unit
val pp_defs_lem : out_channel -> out_channel -> tannot defs -> string -> string list -> unit