(&self)
| 154 | } |
| 155 | |
| 156 | pub fn highlights(&self) -> impl Iterator<Item = &Highlight> { |
| 157 | self.highlights.values() |
| 158 | } |
| 159 | |
| 160 | fn insert(&mut self, span: Span, kind: SemanticKind, modifier: SemanticModifier) { |
| 161 | self.insert_with_decoration(span, kind, modifier, SemanticDecoration::None); |