pub fn is_parent_of_kind(
db: &dyn SyntaxGroup,
node: &SyntaxNode,
kind: SyntaxKind,
) -> bool
Expand description
Checks whether the given node has a parent of the given kind.
pub fn is_parent_of_kind(
db: &dyn SyntaxGroup,
node: &SyntaxNode,
kind: SyntaxKind,
) -> bool
Checks whether the given node has a parent of the given kind.