Dart API Referencedart:htmlTreeWalker

TreeWalker Interface

The TreeWalker object represents the nodes of a document subtree and a position within them.

A TreeWalker can be created using the createTreeWalker() method of the document object.

Methods

Code Node firstChild() #

Node firstChild();

Code Node lastChild() #

Node lastChild();

Code Node nextNode() #

Node nextNode();

Code Node nextSibling() #

Node nextSibling();

Code Node parentNode() #

Node parentNode();

Code Node previousNode() #

Node previousNode();

Code Node previousSibling() #

Node previousSibling();

Fields

Code Node currentNode #

Node currentNode;

Code final bool expandEntityReferences #

final bool expandEntityReferences;

Code final NodeFilter filter #

final NodeFilter filter;

Code final Node root #

final Node root;

Code final int whatToShow #

final int whatToShow;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.