2017-06-15 01:35:24 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* Copyright (c) 2014 - 2016. *)
|
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
|
|
|
open Script_located_ir
|
|
|
|
|
|
|
|
val expand : node -> node
|
|
|
|
|
|
|
|
val expand_caddadr : node -> node option
|
|
|
|
val expand_set_caddadr : node -> node option
|
|
|
|
val expand_map_caddadr : node -> node option
|
|
|
|
val expand_dxiiivp : node -> node option
|
|
|
|
val expand_paaiair : node -> node option
|
|
|
|
val expand_duuuuup : node -> node option
|
|
|
|
val expand_compare : node -> node option
|
2017-08-24 17:29:43 +04:00
|
|
|
val expand_asserts : node -> node option
|
2017-06-15 01:35:24 +04:00
|
|
|
val expand_unpaaiair : node -> node option
|
2017-08-24 17:29:43 +04:00
|
|
|
val expand_if_some : node -> node option
|
|
|
|
val expand_if_right : node -> node option
|
2017-06-15 01:35:24 +04:00
|
|
|
|
|
|
|
open Script
|
|
|
|
|
|
|
|
val unexpand : expr -> expr
|
|
|
|
|
|
|
|
val unexpand_caddadr : expr -> expr option
|
|
|
|
val unexpand_set_caddadr : expr -> expr option
|
|
|
|
val unexpand_map_caddadr : expr -> expr option
|
|
|
|
val unexpand_dxiiivp : expr -> expr option
|
|
|
|
val unexpand_paaiair : expr -> expr option
|
|
|
|
val unexpand_duuuuup : expr -> expr option
|
|
|
|
val unexpand_compare : expr -> expr option
|
2017-08-24 17:29:43 +04:00
|
|
|
val unexpand_asserts : expr -> expr option
|
2017-06-15 01:35:24 +04:00
|
|
|
val unexpand_unpaaiair : expr -> expr option
|
2017-08-24 17:29:43 +04:00
|
|
|
val unexpand_if_some : expr -> expr option
|
|
|
|
val unexpand_if_right : expr -> expr option
|