Expand description
This module provides the TokenMapExt
trait, which extends iterators over tokens with
additional functionality, such as finding all references of a given token in a TokenMap.
The TokenMapExt
trait is implemented for any iterator that yields (Ident, Token) pairs.
Structs§
- A custom iterator that returns all references of a given token.
Traits§
- A trait for extending iterators with the
all_references_of_token
method.