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

Method insert_with_decoration

crates/csskit_highlight/src/lib.rs:164–172  ·  view source on GitHub ↗
(
		&mut self,
		span: Span,
		kind: SemanticKind,
		modifier: SemanticModifier,
		decoration: SemanticDecoration,
	)

Source from the content-addressed store, hash-verified

162 }
163
164 fn insert_with_decoration(
165 &mut self,
166 span: Span,
167 kind: SemanticKind,
168 modifier: SemanticModifier,
169 decoration: SemanticDecoration,
170 ) {
171 self.highlights.insert(span, Highlight { span, kind, modifier, decoration });
172 }
173}

Callers 2

insertMethod · 0.80
visit_colorMethod · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected