def walk_preorder(self):
yield self<EOL>for child in self.get_children():<EOL><INDENT>for descendant in child.walk_preorder():<EOL><INDENT>yield descendant<EOL><DEDENT><DEDENT>
Depth-first preorder walk over the cursor and its descendants.

        Yields cursors.