(s)
| 26650 | } |
| 26651 | add(s, o) { |
| 26652 | var _add = (s) => { |
| 26653 | for (var o = 0; o < this.ranges.length && !s.touches(this.ranges[o]); ) o++ |
| 26654 | for ( |
| 26655 | var i = this.ranges.slice(0, o); |
| 26656 | o < this.ranges.length && s.touches(this.ranges[o]); |
| 26657 | ) |
| 26658 | ((s = s.add(this.ranges[o])), o++) |
| 26659 | ;(i.push(s), (this.ranges = i.concat(this.ranges.slice(o))), this._update_length()) |
| 26660 | } |
| 26661 | return ( |
| 26662 | s instanceof DRange |
| 26663 | ? s.ranges.forEach(_add) |
nothing calls this directly
no test coverage detected