Skip to main content

parent_kind_is

Function parent_kind_is 

Source
fn parent_kind_is(node: Node<'_>, expected: &str) -> bool
Expand description

Check whether the node’s immediate parent has the expected kind.