(doc, builder)
| 602 | } |
| 603 | |
| 604 | let customStringifier: Stringifier = (doc, builder) => { |
| 605 | if (doc.type === 'document') { |
| 606 | for (let root of doc.nodes) { |
| 607 | if (root.raws.codeBefore) { |
| 608 | builder(root.raws.codeBefore, root) |
| 609 | } |
| 610 | |
| 611 | builder(root.toString(), root) |
| 612 | |
| 613 | if (root.raws.codeAfter) { |
| 614 | builder(root.raws.codeAfter, root) |
| 615 | } |
| 616 | } |
| 617 | } |
| 618 | } |
| 619 | |
| 620 | let processor = new Processor([() => {}]) |
| 621 | let result = await processor.process('a{}', { |
nothing calls this directly
no test coverage detected
searching dependent graphs…