| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 interface Node extends EventTarget { | 7 interface Node extends EventTarget { |
| 8 NodeList get nodes(); | 8 NodeList get nodes(); |
| 9 | 9 |
| 10 // TODO: The type of value should be Collection<Node>. See http://b/5392897 | 10 void set nodes(Collection<Node> value); |
| 11 void set nodes(value); | |
| 12 | 11 |
| 13 Node replaceWith(Node otherNode); | 12 Node replaceWith(Node otherNode); |
| 14 | 13 |
| 15 Node remove(); | 14 Node remove(); |
| 16 | 15 |
| 17 | 16 |
| 18 static final int ATTRIBUTE_NODE = 2; | 17 static final int ATTRIBUTE_NODE = 2; |
| 19 | 18 |
| 20 static final int CDATA_SECTION_NODE = 4; | 19 static final int CDATA_SECTION_NODE = 4; |
| 21 | 20 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 | 72 |
| 74 bool hasChildNodes(); | 73 bool hasChildNodes(); |
| 75 | 74 |
| 76 Node insertBefore(Node newChild, Node refChild); | 75 Node insertBefore(Node newChild, Node refChild); |
| 77 | 76 |
| 78 Node _removeChild(Node oldChild); | 77 Node _removeChild(Node oldChild); |
| 79 | 78 |
| 80 Node _replaceChild(Node newChild, Node oldChild); | 79 Node _replaceChild(Node newChild, Node oldChild); |
| 81 | 80 |
| 82 } | 81 } |
| OLD | NEW |