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

Method NextAll

traversal.go:313–315  ·  view source on GitHub ↗

NextAll gets all the following siblings of each element in the Selection. It returns a new Selection object containing the matched elements.

()

Source from the content-addressed store, hash-verified

311// NextAll gets all the following siblings of each element in the
312// Selection. It returns a new Selection object containing the matched elements.
313func (s *Selection) NextAll() *Selection {
314 return pushStack(s, getSiblingNodes(s.Nodes, siblingNextAll, nil, nil))
315}
316
317// NextAllFiltered gets all the following siblings of each element in the
318// Selection filtered by a selector. It returns a new Selection object

Callers 6

NextUntilSelectionMethod · 0.95
TestNextAllFunction · 0.80
TestNextAllRollbackFunction · 0.80
TestNextAll2Function · 0.80
TestNextAllNoneFunction · 0.80
BenchmarkNextAllFunction · 0.80

Calls 2

pushStackFunction · 0.85
getSiblingNodesFunction · 0.85

Tested by 5

TestNextAllFunction · 0.64
TestNextAllRollbackFunction · 0.64
TestNextAll2Function · 0.64
TestNextAllNoneFunction · 0.64
BenchmarkNextAllFunction · 0.64