Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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

§
currentNode: Node
[src]
§
readonly filter: NodeFilter | null
[src]
§
readonly root: Node
[src]
§
readonly whatToShow: number
[src]

§Methods

§
firstChild(): Node | null
[src]
§
lastChild(): Node | null
[src]
§
nextNode(): Node | null
[src]
§
nextSibling(): Node | null
[src]
§
parentNode(): Node | null
[src]
§
previousNode(): Node | null
[src]
§
previousSibling(): Node | null
[src]