nl_tokens: Splits successive lines of the form ... // ... into a left and right side .
pl_tokens: function splitLines ( comment ) { if ( ! comment || ! ( comment = comment [ 1 ] ) ) return '' ; var result = comment . split ( '\n' ) , line ; for ( var i in result ) { // Remove a leading asterisk line = result [ i ] . replace ( / ^\s*\*?(.*)$ / , "$1" ) . split ( '//' ) ; // Split line at // and return the first two segments <mask> [ i ] = [ ( line [ 0 ] || '' ) . trim ( ) , ( line [ 1 ] || '' ) . trim ( ) ] ; } return result ; }