(node: html.Node, context: any)
| 1607 | const accumulator: html.Node[] = []; |
| 1608 | const visitor = new (class implements html.Visitor { |
| 1609 | visit(node: html.Node, context: any) { |
| 1610 | accumulator.push(node); |
| 1611 | } |
| 1612 | visitElement(element: html.Element, context: any): any { |
| 1613 | html.visitAll(this, element.attrs); |
| 1614 | html.visitAll(this, element.children); |