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

Method wrapAllNodes

manipulation.go:458–463  ·  view source on GitHub ↗
(ns ...*html.Node)

Source from the content-addressed store, hash-verified

456}
457
458func (s *Selection) wrapAllNodes(ns ...*html.Node) *Selection {
459 if len(ns) > 0 {
460 return s.WrapAllNode(ns[0])
461 }
462 return s
463}
464
465// WrapAllNode wraps the given node around the first element in the Selection,
466// making all other nodes in the Selection children of the given node. The node

Callers 6

WrapAllMatcherMethod · 0.95
WrapAllSelectionMethod · 0.95
WrapAllHtmlMethod · 0.95
WrapHtmlMethod · 0.80
wrapNodesMethod · 0.80
wrapInnerNodesMethod · 0.80

Calls 1

WrapAllNodeMethod · 0.95

Tested by

no test coverage detected