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