(child, ignore)
| 32 | } |
| 33 | |
| 34 | removeChild(child, ignore) { |
| 35 | let index = this.index(child) |
| 36 | |
| 37 | if (!ignore && index === 0 && this.nodes.length > 1) { |
| 38 | this.nodes[1].raws.before = this.nodes[index].raws.before |
| 39 | } |
| 40 | |
| 41 | return super.removeChild(child) |
| 42 | } |
| 43 | |
| 44 | toResult(opts = {}) { |
| 45 | let lazy = new LazyResult(new Processor(), this, opts) |
no test coverage detected