rowan::ast::support

Function token

Source
pub fn token<L: Language>(
    parent: &SyntaxNode<L>,
    kind: L::Kind,
) -> Option<SyntaxToken<L>>