package octez-protocol-003-PsddFKi3-libs

  1. Overview
  2. Docs
Octez protocol 003-PsddFKi3 libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

doc/octez-protocol-003-PsddFKi3-libs.client/Tezos_client_003_PsddFKi3/Michelson_v1_parser/index.html

Module Tezos_client_003_PsddFKi3.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_003_PsddFKi3.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.