package tezos-client-001-PtCJ7pwo

  1. Overview
  2. Docs
val print_expr : Stdlib.Format.formatter -> Tezos_protocol_001_PtCJ7pwo.Protocol.Script_repr.expr -> unit
val print_expr_unwrapped : Stdlib.Format.formatter -> Tezos_protocol_001_PtCJ7pwo.Protocol.Script_repr.expr -> unit
val inject_types : Tezos_protocol_001_PtCJ7pwo.Protocol.Script_tc_errors.type_map -> Michelson_v1_parser.parsed -> Tezos_micheline.Micheline_printer.node

Insert the type map returned by the typechecker as comments in a printable Micheline AST.

Unexpand the macros and produce the result of parsing an intermediate pretty printed source. Useful when working with contracts extracted from the blockchain and not local files.

val unparse_invalid : string Tezos_micheline.Micheline.canonical -> Michelson_v1_parser.parsed

Unexpand the macros and produce the result of parsing an intermediate pretty printed source. Works on generic trees,for programs that fail to be converted to a specific script version.

OCaml

Innovation. Community. Security.