, span={span}&#34;)
            self._add4span(span, succ, context, location)

    def __call__(self, succ, context=None, location=None):
        if self.resultidx is None:
            for resultidx in range(len(succ)):
                # print(f&#34;DEBUG: ridx=None, running for {resultidx}&#34;)
                self._add4result(succ, resultidx, context, location)
        else:
            # print(f&#34;DEBUG: running for {self.resultidx}&#34;)
            self._add4result(succ, self.resultidx, context, loc