| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 class _NamedNodeMapWrappingImplementation extends DOMWrapperBase implements Name
dNodeMap { | 7 class _NamedNodeMapWrappingImplementation extends DOMWrapperBase implements Name
dNodeMap { |
| 8 _NamedNodeMapWrappingImplementation() : super() {} | 8 _NamedNodeMapWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__NamedNodeMapWrappingImplementation() native { | 10 static create__NamedNodeMapWrappingImplementation() native { |
| 11 return new _NamedNodeMapWrappingImplementation(); | 11 return new _NamedNodeMapWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 int get length() { return _get_length(this); } | 14 int get length() { return _get_length(this); } |
| 15 static int _get_length(var _this) native; | 15 static int _get_length(var _this) native; |
| 16 | 16 |
| 17 Node operator[](int index) { | 17 Node operator[](int index) { return _index(this, index); } |
| 18 return item(index); | 18 static Node _index(var _this, int index) native; |
| 19 } | |
| 20 | 19 |
| 21 void operator[]=(int index, Node value) { | 20 void operator[]=(int index, Node value) { |
| 22 throw new UnsupportedOperationException("Cannot assign element of immutable
List."); | 21 throw new UnsupportedOperationException("Cannot assign element of immutable
List."); |
| 23 } | 22 } |
| 24 | 23 |
| 25 void add(Node value) { | 24 void add(Node value) { |
| 26 throw new UnsupportedOperationException("Cannot add to immutable List."); | 25 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 27 } | 26 } |
| 28 | 27 |
| 29 void addLast(Node value) { | 28 void addLast(Node value) { |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 } | 132 } |
| 134 static Node _setNamedItem(receiver, node) native; | 133 static Node _setNamedItem(receiver, node) native; |
| 135 | 134 |
| 136 Node setNamedItemNS(Node node) { | 135 Node setNamedItemNS(Node node) { |
| 137 return _setNamedItemNS(this, node); | 136 return _setNamedItemNS(this, node); |
| 138 } | 137 } |
| 139 static Node _setNamedItemNS(receiver, node) native; | 138 static Node _setNamedItemNS(receiver, node) native; |
| 140 | 139 |
| 141 String get typeName() { return "NamedNodeMap"; } | 140 String get typeName() { return "NamedNodeMap"; } |
| 142 } | 141 } |
| OLD | NEW |