package octez-protocol-011-PtHangz2-libs

  1. Overview
  2. Docs
Octez protocol 011-PtHangz2 libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/octez-protocol-011-PtHangz2-libs.client/Tezos_client_011_PtHangz2/Michelson_v1_parser/index.html

Module Tezos_client_011_PtHangz2.Michelson_v1_parserSource

Sourcetype parsed = {
  1. source : string;
    (*

    The original source code.

    *)
  2. unexpanded : string Tezos_micheline.Micheline.canonical;
    (*

    Original expression with macros.

    *)
  3. expanded : Tezos_protocol_011_PtHangz2.Protocol.Alpha_context.Script.expr;
    (*

    Expression with macros fully expanded.

    *)
  4. 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.

    *)
  5. 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.

Sourceval compare_parsed : parsed -> parsed -> int
Sourceval parse_toplevel : ?check:bool -> string -> parsed Tezos_micheline.Micheline_parser.parsing_result
Sourceval parse_expression : ?check:bool -> string -> parsed Tezos_micheline.Micheline_parser.parsing_result
Sourceval expand_all : source:string -> original:Tezos_micheline.Micheline_parser.node -> parsed Tezos_micheline.Micheline_parser.parsing_result
OCaml

Innovation. Community. Security.