pub trait AstToken {
    fn cast(token: SyntaxToken) -> Option<Self>
    where
        Self: Sized
; fn syntax(&self) -> &SyntaxToken; }

Required Methods§

Implementors§