//! A [`Getter`](crate::Getter)s collector visting a [`TokenStream`](proc_macro2::TokenStream).
use Path;
use crate::;
/// A [`Getter`](crate::Getter)s collector visting a [`TokenStream`](proc_macro2::TokenStream).
///
/// A [`TokenStream`](proc_macro2::TokenStream) is provided by [`syn`] when a macro is encountered.
///
/// This is also useful to parse documentation, once the different lines of the documentation
/// and the code it contains is gethered together. Use a [`DocCodeGetterCollector`](super::DocCodeGetterCollector)
/// for that.
///
/// For regular Rust code, it is easier to work on a [`SyntaxTree`](syn::File) using
/// a [`SyntaxTreeGetterCollector`](crate::DocCodeGetterCollector).