code: function emitChildren(elements) {
    var i;
    for (i = 0; i < elements.length; i++) {
      var element = elements[i];
      if (typeof element === 'object') {
        emitStart.call(this, element.$name, element.$);
        emitChildren.call(this, element.$children);
        emitEnd.call(this, element.$name);
      } else {
        emitText.call(this, element);
      }
    }
  }
docs: Emits child element collection and their descendants. Works only with preserved nodes.