MCPcopy Create free account
hub / github.com/csskit/csskit / peek_char

Method peek_char

crates/css_lexer/src/private.rs:47–49  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

45 /// Peek the next char (decoding UTF-8 if needed). Returns EOF ('\0') if at end.
46 #[inline(always)]
47 fn peek_char(&self) -> char {
48 self.peek_char_at(0)
49 }
50
51 /// Peek a char at offset `n` bytes from current position.
52 #[inline(always)]

Callers 7

consume_url_sequenceMethod · 0.80
consume_numeric_tokenMethod · 0.80
consume_hash_tokenMethod · 0.80
consume_string_tokenMethod · 0.80
read_next_tokenMethod · 0.80

Calls 1

peek_char_atMethod · 0.80

Tested by

no test coverage detected