ContentsMatcher gets the children of each element in the Selection, filtered by the specified matcher. It returns a new Selection object containing these elements. Since matchers only act on Element nodes, this function is an alias to ChildrenMatcher.
(m Matcher)
| 83 | // object containing these elements. Since matchers only act on Element nodes, |
| 84 | // this function is an alias to ChildrenMatcher. |
| 85 | func (s *Selection) ContentsMatcher(m Matcher) *Selection { |
| 86 | return s.ChildrenMatcher(m) |
| 87 | } |
| 88 | |
| 89 | // Children gets the child elements of each element in the Selection. |
| 90 | // It returns a new Selection object containing these elements. |
nothing calls this directly
no test coverage detected