pub trait SyntaxTokenExt {
// Required method
fn to_token(&self) -> &SyntaxToken;
// Provided methods
fn comment(&self) -> Option<Comment> { ... }
fn in_ts(&self, set: TokenSet) -> bool { ... }
}
pub trait SyntaxTokenExt {
// Required method
fn to_token(&self) -> &SyntaxToken;
// Provided methods
fn comment(&self) -> Option<Comment> { ... }
fn in_ts(&self, set: TokenSet) -> bool { ... }
}