{"json_modified": "2016-03-28T08:29:11.832466", "uuid": "2761b6e4-0afa-45c1-99d2-138a80839cfa", "title": "NodeFilter.acceptNode()", "url": "/en-US/docs/Web/API/NodeFilter/acceptNode", "tags": ["NodeFilter", "API", "DOM", "DOM Reference", "Method"], "translations": [], "modified": "2015-02-22T09:24:59", "label": "NodeFilter.acceptNode()", "localization_tags": [], "locale": "en-US", "id": 81653, "last_edit": "2015-02-22T09:24:43", "summary": "The NodeFilter.acceptNode()
method returns an unsigned short
that will be used to tell if a given Node
must be accepted or not by the NodeIterator
or TreeWalker
iteration algorithm. This method is expected to be written by the user of a NodeFilter
. Possible return values are:", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Example", "title": "Example"}, {"id": "Specification", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/NodeFilter/acceptNode", "review_tags": []}