Function json_ld_context_processing::algorithm::expand_iri_with
source · pub async fn expand_iri_with<'a, N, L, W>(
env: Environment<'a, N, L, W>,
active_context: &'a mut Context<N::Iri, N::BlankId>,
value: Nullable<ExpandableRef<'a>>,
document_relative: bool,
vocab: bool,
local_context: &'a Merged<'a>,
defined: &'a mut DefinedTerms,
remote_contexts: ProcessingStack<N::Iri>,
options: Options
) -> ExpandIriResult<N::Iri, N::BlankId, L::Error>where
N: VocabularyMut,
N::Iri: Clone + PartialEq,
N::BlankId: Clone + PartialEq,
L: Loader<N::Iri>,
W: WarningHandler<N>,
Expand description
Default values for document_relative
and vocab
should be false
and true
.