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

Method transform

crates/csskit_transform/src/transformer.rs:62–68  ·  view source on GitHub ↗
(&mut self, node: &mut N)

Source from the content-addressed store, hash-verified

60 }
61
62 pub fn transform(&mut self, node: &mut N) {
63 self.reset();
64 self.features.transforms(self, node);
65 if let Err(err) = self.commit_overlays() {
66 panic!("Transform overlays commit failed: {:?}", err);
67 }
68 }
69
70 pub fn has_changed(&self) -> bool {
71 *self.changed.borrow()

Callers 4

minifyFunction · 0.80
minifyFunction · 0.80
minifyFunction · 0.80
runMethod · 0.80

Calls 2

resetMethod · 0.80
commit_overlaysMethod · 0.80

Tested by 1

minifyFunction · 0.64