parameters: (self)
docstring: Depth-first preorder walk over the cursor and its descendants.
  
          Yields cursors.
docstring_summary: Depth-first preorder walk over the cursor and its descendants.
docstring_tokens: Depth - first preorder walk over the cursor and its descendants .
function: def walk_preorder(self):
          """Depth-first preorder walk over the cursor and its descendants.
  
          Yields cursors.
          """
          yield self
          for child in self.get_children():
              for descendant in child.walk_preorder():
                  yield descendant
function_tokens: def walk_preorder ( self ) : yield self for child in self . get_children ( ) : for descendant in child . walk_preorder ( ) : yield descendant