(block, index)
| 16599 | this._insertBlock(this._makeBlock(line, subparticles)) |
| 16600 | } |
| 16601 | _insertBlock(block, index) { |
| 16602 | if (index !== undefined) index = index < 0 ? this.length + index : index |
| 16603 | const newParticle = this._getParserPool().createParticle(this, block, index) |
| 16604 | if (this._cueIndex) this._makeCueIndex(index) |
| 16605 | this.clearQuickCache() |
| 16606 | return newParticle |
| 16607 | } |
| 16608 | _insertLines(lines, index = this.length) { |
| 16609 | const parser = this.constructor |
| 16610 | const newParticle = new parser() |
no test coverage detected