OLD | NEW |
1 | 1 |
2 class _NamedNodeMapJs extends _DOMTypeJs implements NamedNodeMap native "*NamedN
odeMap" { | 2 class _NamedNodeMapJs extends _DOMTypeJs implements NamedNodeMap native "*NamedN
odeMap" { |
3 | 3 |
4 int get length() native "return this.length;"; | 4 final int length; |
5 | 5 |
6 _NodeJs operator[](int index) native "return this[index];"; | 6 _NodeJs operator[](int index) native "return this[index];"; |
7 | 7 |
8 void operator[]=(int index, _NodeJs value) { | 8 void operator[]=(int index, _NodeJs value) { |
9 throw new UnsupportedOperationException("Cannot assign element of immutable
List."); | 9 throw new UnsupportedOperationException("Cannot assign element of immutable
List."); |
10 } | 10 } |
11 // -- start List<Node> mixins. | 11 // -- start List<Node> mixins. |
12 // Node is the element type. | 12 // Node is the element type. |
13 | 13 |
14 // From Iterable<Node>: | 14 // From Iterable<Node>: |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 _NodeJs item(int index) native; | 83 _NodeJs item(int index) native; |
84 | 84 |
85 _NodeJs removeNamedItem(String name) native; | 85 _NodeJs removeNamedItem(String name) native; |
86 | 86 |
87 _NodeJs removeNamedItemNS(String namespaceURI, String localName) native; | 87 _NodeJs removeNamedItemNS(String namespaceURI, String localName) native; |
88 | 88 |
89 _NodeJs setNamedItem(_NodeJs node) native; | 89 _NodeJs setNamedItem(_NodeJs node) native; |
90 | 90 |
91 _NodeJs setNamedItemNS(_NodeJs node) native; | 91 _NodeJs setNamedItemNS(_NodeJs node) native; |
92 } | 92 } |
OLD | NEW |