Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
write
Method · 0.80
drop
Method · 0.80
Calls
2
token
Method · 0.45
append
Method · 0.45
Tested by
no test coverage detected