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

Method with_escape_idents

crates/css_parse/src/cursor_expanded_write_sink.rs:26–29  ·  view source on GitHub ↗

Disable ident escaping for a milder expansion effect.

(mut self, escape: bool)

Source from the content-addressed store, hash-verified

24
25 /// Disable ident escaping for a milder expansion effect.
26 pub fn with_escape_idents(mut self, escape: bool) -> Self {
27 self.escape_idents = escape;
28 self
29 }
30
31 fn write(&mut self, c: SourceCursor<'a>) {
32 if let Some(last) = self.last_token

Callers 1

runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected