Generate leaf nodes of this node.

def generate_child_leaf_nodes(self):
        """
        Generate leaf nodes of this node.

        """

        def _yield_child_leaf_nodes(node):
            """

            Args:
                node:

            Yields:
            """
            if not node.has_children():
                yield node
            else:
                for child_node in node.generate_child_nodes():
                    # recursivity is not compatible with yield in Python2.x: you have to re-yield results
                    for child in _yield_child_leaf_nodes(child_node):
                        yield child

        return _yield_child_leaf_nodes(self)