e:
            for matchidx in range(len(succ[resultidx].matches)):
                span = _get_span(succ, self.name, resultidx, matchidx, self.silent_fail)
                # print(f&#34;DEBUG: midx=None, running for {matchidx}, span={span}&#34;)
                self._add4span(span, succ, context, location)
        else:
            span = _get_span(succ, self.name, resultidx, self.matchidx, self.silent_fail)
            # print(f&#34;DEBUG: running for {self.matchidx}, span={span}&#34;)
            self._a