cairo_lang_syntax::node::utils

Function is_parent_of_kind

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