()
| 18246 | return errors |
| 18247 | } |
| 18248 | get programAsAtoms() { |
| 18249 | // todo: what is this? |
| 18250 | return this.topDownArray.map(particle => { |
| 18251 | const atoms = particle.parsedAtoms |
| 18252 | let indents = particle.getIndentLevel() - 1 |
| 18253 | while (indents) { |
| 18254 | atoms.unshift(undefined) |
| 18255 | indents-- |
| 18256 | } |
| 18257 | return atoms |
| 18258 | }) |
| 18259 | } |
| 18260 | get programWidth() { |
| 18261 | return Math.max(...this.programAsAtoms.map(line => line.length)) |
| 18262 | } |
nothing calls this directly
no test coverage detected