(text)
| 16521 | return SUBPARTICLE_MEMBRANE |
| 16522 | } |
| 16523 | _textToContentAndSubparticlesTuple(text) { |
| 16524 | const lines = text.split(this.particleBreakSymbolRegex) |
| 16525 | const firstLine = lines.shift() |
| 16526 | const subparticles = !lines.length |
| 16527 | ? undefined |
| 16528 | : lines |
| 16529 | .map(line => (line.substr(0, 1) === this.edgeSymbol ? line : this.edgeSymbol + line)) |
| 16530 | .map(line => line.substr(1)) |
| 16531 | .join(this.particleBreakSymbol) |
| 16532 | return [firstLine, subparticles] |
| 16533 | } |
| 16534 | _getLine() { |
| 16535 | return this._line |
| 16536 | } |
no test coverage detected