code: def pre(self):
          
          yield self
          for node in self.children:
              for v in node.pre:
                  yield v
docs: Pre-order search of the tree rooted at this node.
          (First visit current node, then visit children.)
  
          :rtype: generator of :class:`~aeneas.tree.Tree`