| 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 part of serialization; | 5 part of serialization; |
| 6 | 6 |
| 7 // TODO(alanknight): We should have an example and tests for subclassing | 7 // TODO(alanknight): We should have an example and tests for subclassing |
| 8 // serialization rule rather than using the hard-coded ClosureToMap rule. And | 8 // serialization rule rather than using the hard-coded ClosureToMap rule. And |
| 9 // possibly an abstract superclass that's designed to be subclassed that way. | 9 // possibly an abstract superclass that's designed to be subclassed that way. |
| 10 /** | 10 /** |
| (...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 560 // These operations are all invalid | 560 // These operations are all invalid |
| 561 _throw() { | 561 _throw() { |
| 562 throw new UnsupportedError("Not modifiable"); | 562 throw new UnsupportedError("Not modifiable"); |
| 563 } | 563 } |
| 564 operator []=(x, y) => _throw(); | 564 operator []=(x, y) => _throw(); |
| 565 add(x) => _throw(); | 565 add(x) => _throw(); |
| 566 addAll(x) => _throw(); | 566 addAll(x) => _throw(); |
| 567 sort([f]) => _throw(); | 567 sort([f]) => _throw(); |
| 568 clear() => _throw(); | 568 clear() => _throw(); |
| 569 insert(x, y) => _throw(); | 569 insert(x, y) => _throw(); |
| 570 insertAll(x, y) => _throw(); |
| 571 fillRange(x, y, [z]) => _throw(); |
| 570 removeAt(x) => _throw(); | 572 removeAt(x) => _throw(); |
| 571 remove(x) => _throw(); | 573 remove(x) => _throw(); |
| 572 removeLast() => _throw(); | 574 removeLast() => _throw(); |
| 573 removeAll(x) => _throw(); | 575 removeAll(x) => _throw(); |
| 574 retainAll(x) => _throw(); | 576 retainAll(x) => _throw(); |
| 575 removeWhere(x) => _throw(); | 577 removeWhere(x) => _throw(); |
| 576 retainWhere(x) => _throw(); | 578 retainWhere(x) => _throw(); |
| 579 replaceRange(x, y, z) => _throw(); |
| 577 getRange(x, y) => _throw(); | 580 getRange(x, y) => _throw(); |
| 578 setRange(x, y, z, [a]) => _throw(); | 581 setRange(x, y, z, [a = 0]) => _throw(); |
| 582 setAll(x, y) => _throw(); |
| 579 removeRange(x, y) => _throw(); | 583 removeRange(x, y) => _throw(); |
| 580 get reversed => _throw(); | 584 get reversed => _throw(); |
| 581 void set length(x) => _throw(); | 585 void set length(x) => _throw(); |
| 582 } | 586 } |
| OLD | NEW |