[][src]Macro rdftk_names::nsname

macro_rules! nsname {
    ($fn_name:ident, $name:expr) => { ... };
}

This macro should only called by the namespace! macro. It takes an identifier and a string and produces:

  1. a function with the same identifier which returns a complete IRI using the value of NAMESPACE in the current scope, and
  2. a function with the same identifier, but the suffix _qname which returns a qualified name using the value of PREFIX in the current scope.