(models: (IStringDiffModel | null)[])
| 285 | } |
| 286 | |
| 287 | constructor(models: (IStringDiffModel | null)[]) { |
| 288 | this.models = []; |
| 289 | this.iterators = []; |
| 290 | this.values = []; |
| 291 | this.offsets = []; |
| 292 | // Set up iterator and dummy chunkers for other models |
| 293 | for (let m of models) { |
| 294 | if (m === null) { |
| 295 | continue; |
| 296 | } |
| 297 | this.models.push(m); |
| 298 | let it = m.iterateDiffs(); |
| 299 | this.iterators.push(it); |
| 300 | this.offsets.push(0); |
| 301 | this.values.push(it.next()); |
| 302 | } |
| 303 | } |
| 304 | |
| 305 | next(): DiffIterValue { |
| 306 | // Compare in base index to see which diff is next |
nothing calls this directly
no test coverage detected