Searched refs:peek_char (Results 1 – 3 of 3) sorted by relevance
67 def peek_char(self, peek_count=0): member in Lexer99 while not self.peek_char().is_eof:100 new_char = self.peek_char()124 while not self.peek_char().is_eof:125 new_char = self.peek_char()141 while not self.peek_char().is_eof and self.peek_char().char != '"':144 if self.peek_char().char == '"':154 new_char = self.peek_char()167 while not self.peek_char().is_eof:178 while not self.peek_char().is_eof:[all …]
79 def peek_char(self, peek_count=0): member in Lexer111 while not self.peek_char().is_eof:112 new_char = self.peek_char()133 while not self.peek_char().is_eof:134 new_char = self.peek_char()151 new_char = self.peek_char()164 while not self.peek_char().is_eof:175 while not self.peek_char().is_eof:178 if new_char.char == '*' and self.peek_char().char == '/':
185 fn peek_char(&mut self) -> Result<Option<u8>, Error> { in peek_char() function244 match self.peek_char()? { in de_parse_string()