pub fn grandparent_kind(
db: &dyn SyntaxGroup,
syntax_node: &SyntaxNode,
) -> Option<SyntaxKind>
Expand description
Gets the kind of the grandparent of the given node, if it exists.
pub fn grandparent_kind(
db: &dyn SyntaxGroup,
syntax_node: &SyntaxNode,
) -> Option<SyntaxKind>
Gets the kind of the grandparent of the given node, if it exists.