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

Method emit

crates/css_parse/src/cursor_compact_write_sink.rs:43–46  ·  view source on GitHub ↗
(&mut self, c: SourceCursor<'a>)

Source from the content-addressed store, hash-verified

41 }
42
43 fn emit(&mut self, c: SourceCursor<'a>) {
44 self.last_token = Some(c.token());
45 self.sink.append(c);
46 }
47
48 fn write(&mut self, c: SourceCursor<'a>) {
49 if c == Kind::Comment {

Callers 2

writeMethod · 0.80
dropMethod · 0.80

Calls 2

tokenMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected