code: public void appendSourceStringForChildren(StringBuilder sb) {
      for (N child : children) {
        sb.append(child.toSourceString());
      }
    }
docs: Appends the source strings for all the children to the given StringBuilder.
  
  @param sb The StringBuilder to which to append the children's source strings.