nl_tokens: Check if given node is in repeating context e . g . node itself or one of its parent is repeated
pl_tokens: function isRepeating ( node ) { while ( node . parent ) { if ( node . repeat && node . <mask> . value && node . repeat . value > 1 ) { return true ; } node = node . parent ; } return false ; }