ligo/lib_micheline/micheline_printer.mli
2017-12-04 16:05:54 +01:00

24 lines
1.0 KiB
OCaml

(**************************************************************************)
(* *)
(* Copyright (c) 2014 - 2017. *)
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
(* *)
(* All rights reserved. No warranty, explicit or implicit, provided. *)
(* *)
(**************************************************************************)
open Micheline
val print_string : Format.formatter -> string -> unit
type location = { comment : string option }
type node = (location, string) Micheline.node
val print_expr : Format.formatter -> (location, string) Micheline.node -> unit
val print_expr_unwrapped : Format.formatter -> (location, string) Micheline.node -> unit
val printable :
?comment: (int -> string option) ->
('p -> string) -> 'p canonical -> (location, string) Micheline.node