TreeWalker(Node root, int whatToShow)

Source

factory TreeWalker(Node root, int whatToShow) {
  return document._createTreeWalker(root, whatToShow, null);
}