Home
last modified time | relevance | path

Searched refs:reduce_tree (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/lib2to3/
Dbtm_utils.py104 def reduce_tree(node, parent=None): function
122 new_node = reduce_tree(node.children[0], parent)
130 reduced = reduce_tree(child, new_node)
138 reduced = reduce_tree(child, new_node)
146 new_node = reduce_tree(node.children[0], parent)
152 return reduce_tree(node.children[1], parent)
211 new_node = reduce_tree(alternatives_node, parent)
230 reduced = reduce_tree(child, new_node)
Dbtm_matcher.py15 from .btm_utils import reduce_tree
43 tree = reduce_tree(fixer.pattern_tree)