/// Find the next unescaped new line character
/// returning the true if a new line was found
Find the next unescaped new line character
returning the true if a new line was found
Find the next unescaped new line character returning the true if a new line was found
fn seek_next_new_line(&mut self) -> Option<usize> {
        let mut last_char_was_escape = false;
        let start = self.idx;
        while let Some(&ch) = self.chars.peek() {
            if ch == '\n' || ch == '\r' && !last_char_was_escape {
                return Some(start);
            }
            last_char_was_escape = ch == '\\';
            self.next_char();
        }
        None
    }
fn seek_next_new_line ( & mut self ) -> Option < usize > { let mut last_char_was_escape = false ; let start = self . idx ; while let Some ( & ch ) = self . chars . peek ( ) { if ch == '\n' || ch == '\r' && ! last_char_was_escape { return Some ( start ) ; } last_char_was_escape = ch == '\\' ; self . next_char ( ) ; } None }
Find the next unescaped new line character
returning the true if a new line was found
Find the next unescaped new line character returning the true if a new line was found
&mut self