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

Method NextAllMatcher

traversal.go:327–329  ·  view source on GitHub ↗

NextAllMatcher gets all the following siblings of each element in the Selection filtered by a matcher. It returns a new Selection object containing the matched elements.

(m Matcher)

Source from the content-addressed store, hash-verified

325// Selection filtered by a matcher. It returns a new Selection object
326// containing the matched elements.
327func (s *Selection) NextAllMatcher(m Matcher) *Selection {
328 return filterAndPush(s, getSiblingNodes(s.Nodes, siblingNextAll, nil, nil), m)
329}
330
331// Prev gets the immediately preceding sibling of each element in the
332// Selection. It returns a new Selection object containing the matched elements.

Callers

nothing calls this directly

Calls 2

filterAndPushFunction · 0.85
getSiblingNodesFunction · 0.85

Tested by

no test coverage detected