QueryAll returns a slice of all the nodes that match m, from the descendants of n.
(n *html.Node, m Matcher)
| 149 | // QueryAll returns a slice of all the nodes that match m, from the descendants |
| 150 | // of n. |
| 151 | func QueryAll(n *html.Node, m Matcher) []*html.Node { |
| 152 | return queryInto(n, m, nil) |
| 153 | } |
| 154 | |
| 155 | // Match returns true if the node matches the selector. |
| 156 | func (s Selector) Match(n *html.Node) bool { |