Searched refs:reduce_tree (Results 1 – 2 of 2) sorted by relevance
104 def reduce_tree(node, parent=None): function122 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)
15 from .btm_utils import reduce_tree43 tree = reduce_tree(fixer.pattern_tree)