Function cairo_lang_syntax::node::utils::is_grandparent_of_kind
source ยท 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.