pub trait HasTokens {
    fn tokens(&self) -> Option<&LazyAttrTokenStream>;
    fn tokens_mut(&mut self) -> Option<&mut Option<LazyAttrTokenStream>>;
}
Expand description

A trait for AST nodes having (or not having) collected tokens.

Required Methods

Implementations on Foreign Types

Implementors