Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/csskit/csskit
/ peek_n
Method
peek_n
crates/css_parse/src/parser.rs:326–328 ·
view source on GitHub ↗
(&self, n: u8)
Source
from the content-addressed store, hash-verified
324
325
#[inline]
326
pub fn peek_n(&self, n: u8) -> Cursor {
327
self.peek_n_with_skip(n, self.skip)
328
}
329
330
#[inline]
331
pub fn peek_n_including_whitespace(&self, n: u8) -> Cursor {
Callers
15
parse
Method · 0.80
parse
Method · 0.80
parse
Method · 0.80
parse_specified_declaration_value
Method · 0.80
peek
Method · 0.80
parse
Method · 0.80
peek
Method · 0.80
parse
Method · 0.80
peek
Method · 0.80
parse
Method · 0.80
peek
Method · 0.80
parse
Method · 0.80
Calls
1
peek_n_with_skip
Method · 0.80
Tested by
2
peek_and_next
Function · 0.64
peek_and_next_with_whitsespace
Function · 0.64