(content)
| 17061 | return this._clearSubparticles() |
| 17062 | } |
| 17063 | setContent(content) { |
| 17064 | if (content === this.content) return this |
| 17065 | const newArray = [this.cue] |
| 17066 | if (content !== undefined) { |
| 17067 | content = content.toString() |
| 17068 | if (content.match(this.particleBreakSymbol)) return this.setContentWithSubparticles(content) |
| 17069 | newArray.push(content) |
| 17070 | } |
| 17071 | this._setLine(newArray.join(this.atomBreakSymbol)) |
| 17072 | this._updateLineModifiedTimeAndTriggerEvent() |
| 17073 | return this |
| 17074 | } |
| 17075 | prependSibling(line, subparticles) { |
| 17076 | return this.parent.insertLineAndSubparticles(line, subparticles, this.index) |
| 17077 | } |
no test coverage detected