Gets the children nodes of each node in the specified slice of nodes, based on the sibling type request.
(nodes []*html.Node, st siblingType)
| 609 | // Gets the children nodes of each node in the specified slice of nodes, |
| 610 | // based on the sibling type request. |
| 611 | func getChildrenNodes(nodes []*html.Node, st siblingType) []*html.Node { |
| 612 | return mapNodes(nodes, func(i int, n *html.Node) []*html.Node { |
| 613 | return getChildrenWithSiblingType(n, st, nil, nil) |
| 614 | }) |
| 615 | } |
| 616 | |
| 617 | // Gets the children of the specified parent, based on the requested sibling |
| 618 | // type, skipping a specified node if required. |
no test coverage detected
searching dependent graphs…