validator/engine/dom-walker.js
/**
   * Returns the next unprocessed child, advancing the internal pointer.
   * If all children have been processed, returns undefined.
   * @return {amp.domwalker.NodeProcessingState_|undefined}
   */
Returns the next unprocessed child, advancing the internal pointer.
If all children have been processed, returns undefined.
Returns the next unprocessed child advancing the internal pointer . If all children have been processed returns undefined .
nextChild() {
    if (this.numChildren_ > this.nextChildIdx_) {
      var thisChild = this.node_.children[this.nextChildIdx_];
      this.nextChildIdx_ += 1;
      return new amp.domwalker.NodeProcessingState_(thisChild);
    }
    return undefined;
  }
nextChild ( ) { if ( this . numChildren_ > this . nextChildIdx_ ) { var thisChild = this . node_ . children [ this . nextChildIdx_ ] ; this . nextChildIdx_ += 1 ; return new amp . domwalker . NodeProcessingState_ ( thisChild ) ; } return undefined ; }
Returns the next unprocessed child, advancing the internal pointer.
Returns the next unprocessed child advancing the internal pointer .