package tezos-protocol-013-PtJakart

  1. Overview
  2. Docs
Tezos/Protocol: economic-protocol definition

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-16.0.tar.gz
sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b

doc/tezos-protocol-013-PtJakart.raw/Tezos_raw_protocol_013_PtJakart/Script_ir_annot/index.html

Module Tezos_raw_protocol_013_PtJakart.Script_ir_annotSource

  • returns

    an error Unexpected_annotation in the monad the list is not empty.

check_xxx_annot functions below are remains from the past (they were called parse_xxx_annot before). They check that annotations are well-formed and, depending on different contexts, that only the annotations that are expected to be found are present. Hopefully we will relax this property soon.

Check a type annotation only.

Check a field annotation only.

Check an annotation for composed types, of the form :ty_name %field1 %field2 in any order.

Checks whether a node has a field annotation.

Extract and remove a field annotation as an entrypoint from a node

Instruction annotations parsing

Check a variable annotation.

Sourceval is_allowed_char : char -> bool

Parses a field annotation and converts it to an entrypoint. An error is returned if the annotation is too long or is "default". An empty annotation is converted to "default".

Parse a field annotation and convert it to an entrypoint. An error is returned if the field annot is too long. An empty annotation is converted to "default".

OCaml

Innovation. Community. Security.