package tezos-protocol-011-PtHangz2
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc
doc/tezos-protocol-011-PtHangz2.raw/Tezos_raw_protocol_011_PtHangz2/Script_repr/index.html
Module Tezos_raw_protocol_011_PtHangz2.Script_reprSource
Defines a Michelson expression representation as a Micheline node with canonical (int) location and Michelson_v1_primitives.prim as content.
Types expr and node both define representation of Michelson expressions and are indeed the same type internally, although this is not visible outside Micheline due to interface abstraction.
Locations are used by Micheline mostly for error-reporting and pretty- printing expressions. canonical_location is simply an int.
Annotations attached to Michelson expressions.
type expr =
Michelson_v1_primitives.prim
Tezos_protocol_environment_011_PtHangz2.Micheline.canonicalRepresents a Michelson expression as canonical Micheline.
A record containing either an underlying serialized representation of an expression or a deserialized one, or both. If either is absent, it will be computed on-demand.
type node =
(location, Michelson_v1_primitives.prim)
Tezos_protocol_environment_011_PtHangz2.Micheline.nodeSame as expr, but used in different contexts, as required by Micheline's abstract interface.
Type t joins the contract's code and storage in a single record.
val force_decode :
lazy_expr ->
expr Tezos_protocol_environment_011_PtHangz2.Error_monad.tzresultval force_bytes :
lazy_expr ->
bytes Tezos_protocol_environment_011_PtHangz2.Error_monad.tzresultmicheline_nodes root returns the number of internal nodes in the micheline expression held from root.