2016-09-08 21:13:10 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* Copyright (c) 2014 - 2016. *)
|
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
2017-07-22 02:37:33 +04:00
|
|
|
type 'a parsed =
|
|
|
|
{ ast : 'a ;
|
|
|
|
source : string ;
|
|
|
|
loc_table : (string * (int * Script_located_ir.location) list) list }
|
2016-09-08 21:13:10 +04:00
|
|
|
|
2017-07-22 02:37:33 +04:00
|
|
|
val parse_program: string -> Script.code parsed tzresult Lwt.t
|
|
|
|
val parse_data: string -> Script.expr parsed tzresult Lwt.t
|
|
|
|
val parse_data_type: string -> Script.expr parsed tzresult Lwt.t
|
|
|
|
|
2017-07-24 17:57:03 +04:00
|
|
|
val print_storage: Format.formatter -> Script.storage -> unit
|
|
|
|
|
2017-07-22 02:37:33 +04:00
|
|
|
module Program : Client_aliases.Alias with type t = Script.code parsed
|
2016-09-08 21:13:10 +04:00
|
|
|
|
2016-12-03 16:05:02 +04:00
|
|
|
val commands: unit -> Client_commands.command list
|