Assign_.Trans

Undocumented in source.
  1. enum Trans;
  2. enum Trans;
    template Assign_(string node, string field, T, bool typeDSL = false, idMap idMap_ = idMap.init)
    static if(!isSomeString!T && isArray!T)
    static if(!(idMap_.subject.empty))
    static if(!(idMap_.predicate.empty))
    enum Trans = format!q"EOS Node a_; a_.add("%1$s", a.key); if (a.value.type == NodeType.mapping && "%2$s" in a.value) { foreach(kv; a.value.mapping) { a_.add(kv.key, kv.value); } } else { a_.add("%2$s", a.value); } return %3$s; EOS"(idMap_.subject, idMap_.predicate, ctorStr!(ElementType!T)("a_"));

Meta