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

Method at_end

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

Source from the content-addressed store, hash-verified

125 /// Check if at end (no more bytes)
126 #[inline(always)]
127 fn at_end(&self) -> bool {
128 self.pos >= self.bytes.len()
129 }
130
131 /// Check if there's exactly one or zero bytes remaining.
132 #[inline(always)]

Callers 4

consume_url_sequenceMethod · 0.45
consume_numeric_tokenMethod · 0.45
consume_string_tokenMethod · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected