Equivalent to `nodeWalkAll`, but only matches elements
function queryAll(node, predicate, matches, getChildNodes) {
  if (getChildNodes === void 0) {
    getChildNodes = module.exports.defaultChildNodes;
  }
  var elementPredicate = AND(isElement, predicate);
  return nodeWalkAll(node, elementPredicate, matches, getChildNodes);
}