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

Function pushStack

utilities.go:174–177  ·  view source on GitHub ↗

Creates a new Selection object based on the specified nodes, and keeps the source Selection object on the stack (linked list).

(fromSel *Selection, nodes []*html.Node)

Source from the content-addressed store, hash-verified

172// Creates a new Selection object based on the specified nodes, and keeps the
173// source Selection object on the stack (linked list).
174func pushStack(fromSel *Selection, nodes []*html.Node) *Selection {
175 result := &Selection{nodes, fromSel.document, fromSel}
176 return result
177}

Callers 15

FilterMatcherMethod · 0.85
NotMatcherMethod · 0.85
FilterFunctionMethod · 0.85
NotFunctionMethod · 0.85
FilterNodesMethod · 0.85
NotNodesMethod · 0.85
FilterSelectionMethod · 0.85
NotSelectionMethod · 0.85
EmptyMethod · 0.85
FindMethod · 0.85
FindMatcherMethod · 0.85
FindSelectionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…