MCPcopy
hub / github.com/PuerkitoBio/goquery / getChildrenNodes

Function getChildrenNodes

traversal.go:611–615  ·  view source on GitHub ↗

Gets the children nodes of each node in the specified slice of nodes, based on the sibling type request.

(nodes []*html.Node, st siblingType)

Source from the content-addressed store, hash-verified

609// Gets the children nodes of each node in the specified slice of nodes,
610// based on the sibling type request.
611func 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.

Callers 4

ContentsMethod · 0.85
ChildrenMethod · 0.85
ChildrenFilteredMethod · 0.85
ChildrenMatcherMethod · 0.85

Calls 2

mapNodesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…