A context over the given stores (empty ones by default). The stores are
taken as they are: pass clones when the context must not follow later
registrations, as the reference's FormatContext::new clones its
arguments.
Names for well-known expression functions («add»).
Names for well-known expression parameters (❰lhs❱).
The CBOR tags registry (names and summarisers).
The known values registry.
Get the assigned name for a tag, if any.
The tag to look up
The assigned name, or undefined if no name is registered
Get a display name for a tag.
The tag to get a name for
The assigned name if available, otherwise the tag value as a string
Look up a tag by its numeric value.
The numeric tag value
The Tag object if found, undefined otherwise
Look up a tag by its name.
The tag name
The Tag object if found, undefined otherwise
Get a display name for a tag value.
The numeric tag value
The tag name if registered, otherwise the value as a string
Get a custom summarizer function for a tag, if registered.
The numeric tag value
The summarizer function if registered, undefined otherwise
An independent copy: every store is cloned (the reference's derived
Clone), so a registration made in either context afterwards is not
seen by the other.
Context object for formatting Gordian Envelopes with annotations.
The FormatContext provides information about CBOR tags, known values, functions, and parameters that are used to annotate the output of envelope formatting functions.