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

Method at_end

crates/css_parse/src/parser.rs:233–235  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

231
232 #[inline(always)]
233 pub fn at_end(&self) -> bool {
234 self.buffer[self.buffer_index] == Kind::Eof
235 }
236
237 pub fn rewind(&mut self, checkpoint: ParserCheckpoint<I>) {
238 let ParserCheckpoint { iter, errors_pos, trivia_pos, buffer, buffer_index, skip, stop, state, .. } = checkpoint;

Callers 12

parse_entirelyMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parse_stylesheetMethod · 0.45

Calls

no outgoing calls

Tested by 1