def pre_order(self):
        yield self
        for child in self.children:
            for node in child.pre_order():
                yield node
Return a pre-order iterator for the tree.
dataset/ETHPy150Open ctxis/canape/CANAPE.Scripting/Lib/lib2to3/pytree.py/Node.pre_order