ide_db::helpers

Function pick_token

Source
pub fn pick_token<T: AstToken>(tokens: TokenAtOffset<SyntaxToken>) -> Option<T>