Peeks the second character from the input stream without consuming it. Returns [`EOF_CHAR`] if the position is past the end of the file.
(&self)
| 46 | /// Peeks the second character from the input stream without consuming it. |
| 47 | /// Returns [`EOF_CHAR`] if the position is past the end of the file. |
| 48 | pub(super) fn second(&self) -> char { |
| 49 | let mut chars = self.chars.clone(); |
| 50 | chars.next(); |
| 51 | chars.next().unwrap_or(EOF_CHAR) |
| 52 | } |
| 53 | |
| 54 | /// Returns the remaining text to lex. |
| 55 | /// |
no test coverage detected