Lines Matching refs:leaves
537 # check that iteration over leaves
573 def leaves(exc):
576 # match and subgroup have the same leaves
577 self.assertSequenceEqual(leaves(match), leaves(sg))
579 match_leaves = leaves(match)
580 rest_leaves = leaves(rest)
583 len(leaves(eg)),
584 len(leaves(match)) + len(leaves(rest)))
586 for e in leaves(eg):
612 for e in leaves(part):