Tezos_client_alpha.Michelson_v1_parserSourcetype 'prim parser_result = {source : string;The original source code.
*)unexpanded : string Tezos_micheline.Micheline.canonical;Original expression with macros.
*)expanded : 'prim Tezos_micheline.Micheline.canonical;Expression with macros fully expanded.
*)expansion_table : (int * (Tezos_micheline.Micheline_parser.location * int list))
list;Associates unexpanded nodes to their parsing locations and the nodes expanded from it in the expanded expression.
*)unexpansion_table : (int * int) list;Associates an expanded node to its source in the unexpanded expression.
*)}The result of parsing and expanding a Michelson V1 script or data.
val expand_toplevel :
?check:bool ->
string ->
string parser_result Tezos_micheline.Micheline_parser.parsing_resultSame as parse_toplevel but skips the final step (recognizing the primitives).
val expand_expression :
?check:bool ->
string ->
string parser_result Tezos_micheline.Micheline_parser.parsing_resultSame as parse_expression but skips the final step (recognizing the primitives).