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