Home
last modified time | relevance | path

Searched refs:pre_order (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Lib/lib2to3/
Drefactor.py195 self.pre_order, self.post_order = self.get_fixers()
204 for fixer in chain(self.post_order, self.pre_order):
209 elif fixer in self.pre_order:
406 for fixer in chain(self.pre_order, self.post_order):
410 self.traverse_by(self.bmi_pre_order_heads, tree.pre_order())
465 for fixer in chain(self.pre_order, self.post_order):
Dpytree.py93 def pre_order(self): member in Base
268 def pre_order(self): member in Node
272 yield from child.pre_order()
379 def pre_order(self): member in Leaf
/third_party/python/Lib/lib2to3/tests/
Dtest_pytree.py194 self.assertEqual(list(n1.pre_order()), [n1, c1, l1, l2, l3])
Dtest_fixers.py24 for fixer in chain(self.refactor.pre_order,