Skip to main content

named_ref

Function named_ref 

Source
fn named_ref(
    name: &str,
    full_match: &str,
    make: impl FnOnce(&str) -> TemplateRef,
) -> Classified
Expand description

Builds a Ref classification for a <namespace>.<subkey>.<name> leaf, warning instead when name is empty (e.g. {{request.headers.}}).