cairo_lang_syntax::node::utils

Function grandparent_kind

source
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.