TreeWalker class

The nodes of a document subtree and a position within them.

MDN Reference

Available extensions
Annotations
  • @JS.new()
  • @staticInterop

Constructors

TreeWalker()
factory

Properties

currentNode ↔ Node

Available on TreeWalker, provided by the TreeWalker$Typings extension

MDN Reference
getter/setter pair
filter → Object?

Available on TreeWalker, provided by the TreeWalker$Typings extension

MDN Reference
no setter
firstChild ↔ Node? Function()

Available on TreeWalker, provided by the TreeWalker$Typings extension

getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
lastChild ↔ Node? Function()

Available on TreeWalker, provided by the TreeWalker$Typings extension

getter/setter pair
nextNode ↔ Node? Function()

Available on TreeWalker, provided by the TreeWalker$Typings extension

getter/setter pair
nextSibling ↔ Node? Function()

Available on TreeWalker, provided by the TreeWalker$Typings extension

getter/setter pair
parentNode ↔ Node? Function()

Available on TreeWalker, provided by the TreeWalker$Typings extension

getter/setter pair
previousNode ↔ Node? Function()

Available on TreeWalker, provided by the TreeWalker$Typings extension

getter/setter pair
previousSibling ↔ Node? Function()

Available on TreeWalker, provided by the TreeWalker$Typings extension

getter/setter pair
root → Node

Available on TreeWalker, provided by the TreeWalker$Typings extension

MDN Reference
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
whatToShow → num

Available on TreeWalker, provided by the TreeWalker$Typings extension

MDN Reference
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited