TreeWalker
The nodes of a document subtree and a position within them.
interface TreeWalker {
currentNode: Node;
readonly filter: NodeFilter | null;
readonly root: Node;
readonly whatToShow: number;
firstChild(): Node | null;
lastChild(): Node | null;
nextNode(): Node | null;
nextSibling(): Node | null;
parentNode(): Node | null;
previousNode(): Node | null;
previousSibling(): Node | null;
}var TreeWalker: {
prototype: TreeWalker;
new (): TreeWalker;
};§Properties
§
readonly filter: NodeFilter | null
[src]