package octez-protocol-006-PsCARTHA-libs

  1. Overview
  2. Docs
Octez protocol 006-PsCARTHA libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

doc/octez-protocol-006-PsCARTHA-libs.client/Tezos_client_006_PsCARTHA/Michelson_v1_parser/index.html

Module Tezos_client_006_PsCARTHA.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_006_PsCARTHA.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.