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