nl_tokens: / *
pl_tokens: function computeLineStarts ( text ) { var result = new Array ( ) ; var <mask> = 0 ; var lineStart = 0 ; while ( pos < text . length ) { var ch = text . charCodeAt ( pos ++ ) ; switch ( ch ) { case 13 /* carriageReturn */ : if ( text . charCodeAt ( pos ) === 10 /* lineFeed */ ) { pos ++ ; } case 10 /* lineFeed */ : result . push ( lineStart ) ; lineStart = pos ; break ; default : if ( ch > 127 /* maxAsciiCharacter */ && isLineBreak ( ch ) ) { result . push ( lineStart ) ; lineStart = pos ; } break ; } } result . push ( lineStart ) ; return result ; }