filter property

NodeFilter? get filter

The TreeWalker.filter read-only property returns a NodeFilter that is the filtering object associated with the TreeWalker.

When creating the TreeWalker, the filter object is passed in as the third parameter, and its method acceptNode() is called on every single node to determine whether or not to accept it.

Implementation

external NodeFilter? get filter;