visitIfNotNull.visitIfNotNull

Undocumented in source.
  1. auto visitIfNotNull;
  2. auto visitIfNotNull;
  3. auto visitIfNotNull;
  4. auto visitIfNotNull;
    template visitIfNotNull(fields...)
    immutable
    static if(!(fields.length > 1))
    static if(!(typeof(fields[0]).stringof[$ - 2 .. $] == "[]"))
    static if(__traits(hasMember, typeof(fields[0]), "classinfo"))
    auto visitIfNotNull = "if (" ~ fields[0].stringof ~ " !is null) visitor.visit(" ~ fields[0].stringof ~ ");\n";
  5. auto visitIfNotNull;

Meta