ide_db::helpers

Function pick_token

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