/src/main/java/org/htmlunit/html/HtmlDomTreeWalker.java
return true;
return false;
if (acceptNode(n) == NodeFilter.FILTER_ACCEPT) { if (filter_ == null || filter_.acceptNode(n) == NodeFilter.FILTER_ACCEPT) { return expandEntityReferences_ || n.getParentNode() == null || n.getParentNode().getNodeType() != Node.ENTITY_REFERENCE_NODE; } } <extra_id_0> } private short acceptNode(final Node n) { final int flag = getFlagForNode(n); if ((whatToShow_ & flag) != 0) { return NodeFilter.FILTER_ACCEPT; }