Home
last modified time | relevance | path

Searched refs:next_char_if (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/protobuf/src/text_format/lexer/
Dlexer_impl.rs247 fn next_char_if<P>(&mut self, p: P) -> Option<char> in next_char_if() method
262 self.next_char_if(|c| c == expect) != None in next_char_if_eq()
286 self.next_char_if(expect).ok_or(err) in next_char_expect()
309 self.next_char_if(is_letter) in next_letter_opt()
314 self.next_char_if(|c| c >= 'A' && c <= 'Z') in _next_capital_letter_opt()
318 self.next_char_if(|c| c.is_ascii_alphanumeric() || c == '_') in next_ident_part()
359 Ok(if clone.next_char_if(|c| c.is_ascii_digit()) != None { in next_decimal_octal_lit_opt()
590 while let Some(c) = self.next_char_if(is_digit) { in next_json_number_opt()
598 while let Some(c) = self.next_char_if(is_digit) { in next_json_number_opt()
609 while let Some(c) = self.next_char_if(is_digit) { in next_json_number_opt()
[all …]