(node: html.Node, context: any)
| 1895 | const accumulator: html.Node[] = []; |
| 1896 | const visitor = new (class implements html.Visitor { |
| 1897 | visit(node: html.Node, context: any) { |
| 1898 | accumulator.push(node); |
| 1899 | } |
| 1900 | visitElement(element: html.Element, context: any): any { |
| 1901 | html.visitAll(this, element.attrs); |
| 1902 | html.visitAll(this, element.directives); |