//! A [`Getter`](crate::Getter)s collector visting a [`SyntaxTree`](syn::File).
use crate::;
use Path;
/// A [`Getter`](crate::Getter)s collector visting a [`SyntaxTree`](syn::File).
///
/// A [`SyntaxTree`](syn::File) is obtained by parsing a code source with [`syn`].
/// They contain more syntatical information than a [`TokenStream`](proc_macro2::TokenStream),
/// however, they imply the syntax is valid. For macros, use a
/// [`TokenStreamGetterCollector`](super::TokenStreamGetterCollector) and
/// for documentation code, use a [`DocCodeGetterCollector`](super::DocCodeGetterCollector).