pub trait SyntaxKindMatch {
// Required method
fn matches(&self, kind: SyntaxKind) -> bool;
}Expand description
Trait for matching syntax kinds, used in *_by_kind methods.
pub trait SyntaxKindMatch {
// Required method
fn matches(&self, kind: SyntaxKind) -> bool;
}Trait for matching syntax kinds, used in *_by_kind methods.