nl_tokens: Get the next render - node
pl_tokens: function _contextNext ( ) { // Get the next node from the sequence if ( ! this . _contextState . nextSequence ) { return undefined ; } if ( this . _context . reverse ) { this . _contextState . nextSequence = this . _contextState . nextSequence . getNext ( ) ; if ( ! this . _contextState . nextSequence ) { return undefined ; } } var renderNode = this . _contextState . nextSequence . get ( ) ; if ( ! renderNode ) { this . _contextState . nextSequence = undefined ; return undefined ; } var nextSequence = this . _contextState . nextSequence ; if ( ! this . _context . reverse ) { this . _contextState . nextSequence = this . _contextState . nextSequence . getNext ( ) ; } if ( this . _contextState . lastRenderNode === renderNode ) { throw 'ViewSequence is corrupted, should never contain the same renderNode twice, index: ' + nextSequence . getIndex ( ) ; } this . _contextState . lastRenderNode = renderNode ; return { renderNode : renderNode , viewSequence : nextSequence , <mask> : true , index : ++ this . _contextState . nextGetIndex } ; }