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

Method peek2

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

Source from the content-addressed store, hash-verified

74 /// Peek the next two chars
75 #[inline(always)]
76 fn peek2(&self) -> (char, char) {
77 let c0 = self.peek_char_at(0);
78 let c1 = self.peek_char_at(c0.len_utf8());
79 (c0, c1)
80 }
81
82 /// Peek the next three chars
83 #[inline(always)]

Callers 2

read_next_tokenMethod · 0.80
parseMethod · 0.80

Calls 1

peek_char_atMethod · 0.80

Tested by

no test coverage detected