current commit
240820.3.1.14.53 · metadata/code: fixes to spec document
.. _text:

Text Format
===========

.. _text-codemetadata:

Code Metadata
-------------

Code Metadata items appear in the text format as custom annotations, and are considered
attached to the first instruction that follows them.


.. math::
   \begin{array}{llclll}
   \production{code metadata annotation} & \Tcodemetadataannot(\B{T}) &::=&
     \text{(@metadata.code.T}~\X{data}{:}\B{T}~\text{)} \\
   \end{array}
.. index:: ! code metadata annotation

Where `T` is the format name of the item, and `data` is a byte string containing the same
payload as in the binary format.