package js.html
Available on js
A NodeFilter interface represents an object used to filter the nodes in a NodeIterator or TreeWalker. They don't know anything about the DOM or how to traverse nodes; they just know how to evaluate a single node against the provided filter.
Documentation NodeFilter by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
staticinlineread onlyFILTER_ACCEPT:Int = 1staticinlineread onlyFILTER_REJECT:Int = 2staticinlineread onlyFILTER_SKIP:Int = 3staticinlineread onlySHOW_ALL:Int = cast 4294967295staticinlineread onlySHOW_ATTRIBUTE:Int = 2staticinlineread onlySHOW_CDATA_SECTION:Int = 8staticinlineread onlySHOW_COMMENT:Int = 128staticinlineread onlySHOW_DOCUMENT:Int = 256staticinlineread onlySHOW_DOCUMENT_FRAGMENT:Int = 1024staticinlineread onlySHOW_DOCUMENT_TYPE:Int = 512staticinlineread onlySHOW_ELEMENT:Int = 1staticinlineread onlySHOW_ENTITY:Int = 32staticinlineread onlySHOW_ENTITY_REFERENCE:Int = 16staticinlineread onlySHOW_NOTATION:Int = 2048staticinlineread onlySHOW_PROCESSING_INSTRUCTION:Int = 64staticinlineread onlySHOW_TEXT:Int = 4acceptNode(node:Node):IntReturns 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:
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/NodeFilter.html