Skip to main content

Module definition

Module definition 

Source
Expand description

Context definitions and their bindings.

Structs§

Bindings
Term definitions of a context, keyed by term and kept in insertion order.
BindingsIter
Iterator over the term definitions of a context, in insertion order.
ContextTypeEntries
Iterator over the entries of a context @type definition.
Definition
Context definition: the object form of a context entry.
Entries
Iterator over the entries of a context definition.
Import
The @import key of a context definition, as a type of its own.
InvalidTypeContainer
Error raised when the @container entry of a context @type definition is not @set.
Key
Context key.
KeyRef
Borrowed context definition key.
Type
The @type entry of a context definition.
UnknownVersion
Error raised when @version holds anything but 1.1.
Vocab
Value of the @vocab entry.

Enums§

ContextTypeEntry
Entry of a context @type definition.
ContextTypeKey
Key of a context @type definition entry.
EntryKeyRef
Key of a context definition entry.
EntryRef
Entry of a context definition, key and value together.
EntryValueRef
Value of a context definition entry.
EntryValueSubItems
Iterator over the fragments held by a context entry value.
FragmentRef
Fragment of a context definition.
KeyOrKeyword
Context definition key that may also be a JSON-LD keyword.
KeyOrKeywordRef
Borrowed context definition key that may also be a keyword.
KeyOrType
Context definition key that may also be the @type entry.
SubItems
Iterator over the fragments held by a context definition.
TypeContainer
Container of a context @type definition.
Version
Value of the @version entry, selecting the processing mode.