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

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

Required Methods

Implementations on Foreign Types

Implementors