nl_tokens: Skips to <code > close< / code > character which is pair to <code > open< / code > character considering possible pair nesting . This function is used to consume pair of characters like opening and closing braces
pl_tokens: function ( open , close ) { var braceCount = 0 , ch ; var pos = this . pos , len = this . string . length ; while ( pos < len ) { ch = this . string . charAt ( pos ++ ) ; if ( ch == open ) { braceCount ++ ; } else if ( ch == close ) { braceCount -- ; if ( braceCount < 1 ) { this . <mask> = pos ; return true ; } } } return false ; }