MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / all_token_changes

Method all_token_changes

atomic-core/src/diff/semantic/config.rs:226–228  ·  view source on GitHub ↗

Get all token changes across all line changes.

(&self)

Source from the content-addressed store, hash-verified

224
225 /// Get all token changes across all line changes.
226 pub fn all_token_changes(&self) -> impl Iterator<Item = &TokenChange<'a>> {
227 self.changes.iter().flat_map(|c| c.token_changes())
228 }
229}
230
231impl<'a> fmt::Display for SemanticDiff<'a> {

Callers 1

Calls 2

token_changesMethod · 0.80
iterMethod · 0.45

Tested by 1