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

Method visit_css_int

crates/csskit_highlight/src/css.rs:152–154  ·  view source on GitHub ↗

Special case: CSSInt doesn't implement QueryableNode (has visit(skip))

(&mut self, int: &CSSInt)

Source from the content-addressed store, hash-verified

150
151 // Special case: CSSInt doesn't implement QueryableNode (has visit(skip))
152 fn visit_css_int(&mut self, int: &CSSInt) {
153 self.insert(int.to_span(), SemanticKind::StyleValueNumber, SemanticModifier::none());
154 }
155}

Callers

nothing calls this directly

Calls 2

insertMethod · 0.45
to_spanMethod · 0.45

Tested by

no test coverage detected