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)
| 238 | // Creates a new Selection object based on the specified nodes, and keeps the |
| 239 | // source Selection object on the stack (linked list). |
| 240 | func pushStack(fromSel *Selection, nodes []*html.Node) *Selection { |
| 241 | result := &Selection{nodes, fromSel.document, fromSel} |
| 242 | return result |
| 243 | } |
no outgoing calls
no test coverage detected