Functions

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