Module utils

Source

Functionsยง

grandparent_kind
Gets the kind of the grandparent of the given node, if it exists.
is_grandparent_of_kind
Checks whether the given node has a grandparent of the given kind.
is_parent_of_kind
Checks whether the given node has a parent of the given kind.
parent_kind
Gets the kind of the parent of the given node, if it exists.