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

Method span

crates/css_lexer/src/cursor.rs:50–52  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

48
49 #[inline(always)]
50 pub fn span(&self) -> Span {
51 Span::new(self.offset(), self.end_offset())
52 }
53
54 #[inline(always)]
55 pub fn with_bad_flag(&self) -> Self {

Callers 8

to_spanMethod · 0.45
fromMethod · 0.45
eqMethod · 0.45
parseMethod · 0.45
appendMethod · 0.45
to_spanMethod · 0.45
flushMethod · 0.45
appendMethod · 0.45

Calls 2

end_offsetMethod · 0.80
offsetMethod · 0.45

Tested by

no test coverage detected