private boolean skipWhitespace ( ) { boolean foundLineTerminator = false ; while ( ! isAtEnd ( ) && peekWhitespace ( ) ) { if ( isLineTerminator ( nextChar ( ) ) ) { foundLineTerminator = true ; } } return foundLineTerminator ; }
Returns true if the whitespace that was skipped included any line terminators .