parameters: (self)
docstring: The standard inorder traversal of a binary tree.
docstring_summary: The standard inorder traversal of a binary tree.
docstring_tokens: The standard inorder traversal of a binary tree .
function: def __iter__(self):
          """The standard inorder traversal of a binary tree."""
          if self:
              if self.hasLeftChild():
                  for elem in self.leftChild:
                      yield elem
              yield self.key
              if self.hasRightChild():
                  for elem in self.rightChild:
                      yield elem
function_tokens: def __iter__ ( self ) : if self : if self . hasLeftChild ( ) : for elem in self . leftChild : yield elem yield self . key if self . hasRightChild ( ) : for elem in self . rightChild : yield elem