TreeWalker 构造函数

TreeWalker(
  1. Node root,
  2. int whatToShow
)

实现

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