653
653
r[self.name] = nodes[:count]
656
658
for count, r in self._recursive_matches(nodes, 0):
658
660
r[self.name] = nodes[:count]
661
679
def _recursive_matches(self, nodes, count):
662
680
"""Helper to recursively yield the matches."""
663
681
assert self.content is not None
671
686
for c0, r0 in generate_matches(alt, nodes):