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)
| 172 | // Creates a new Selection object based on the specified nodes, and keeps the |
| 173 | // source Selection object on the stack (linked list). |
| 174 | func pushStack(fromSel *Selection, nodes []*html.Node) *Selection { |
| 175 | result := &Selection{nodes, fromSel.document, fromSel} |
| 176 | return result |
| 177 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…