<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _descendants(self):
 """ Scans full list of node descendants. :return: Generator of nodes. """

        children = self._children
        if children is not None:
            for child in children.values():
                yield from child._descendants
                yield child