blob: c5ff1fbd04a38694c8a8731fb9f51eac7c5a2df0 [file] [log] [blame] [edit]
.. _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.