nodes 属性

列表<节点> nodes

此节点子节点可修改的列表。

实现

List<Node> get nodes {
  return new _ChildNodeListLazy(this);
}
void nodes=(可迭代对象<节点> value)

实现

set nodes(Iterable<Node> value) {
  // Copy list first since we don't want liveness during iteration.
  // TODO(jacobr): there is a better way to do this.
  var copy = value.toList();
  text = '';
  for (Node node in copy) {
    append(node);
  }
}