ancestors

Returns the ancestor nodes of this path, starting with the parent and ending with the root.