Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 14175013: Add setAll, insertAll, replaceRange and fillRange. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index f5ba60498ea0255b88b63da1628d3ae6096c3661..c7d50d50945aec8cce530f76ec24823910b5aef2 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -7532,6 +7532,14 @@ class DomMimeTypeArray extends NativeFieldWrapperClass1 implements List<DomMimeT
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<DomMimeType> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<DomMimeType> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
DomMimeType removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -7560,6 +7568,14 @@ class DomMimeTypeArray extends NativeFieldWrapperClass1 implements List<DomMimeT
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<DomMimeType> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [DomMimeType fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<DomMimeType> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -7804,6 +7820,14 @@ class DomPluginArray extends NativeFieldWrapperClass1 implements List<DomPlugin>
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<DomPlugin> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<DomPlugin> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
DomPlugin removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -7832,6 +7856,14 @@ class DomPluginArray extends NativeFieldWrapperClass1 implements List<DomPlugin>
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<DomPlugin> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [DomPlugin fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<DomPlugin> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -8228,6 +8260,14 @@ class DomStringList extends NativeFieldWrapperClass1 implements List<String> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<String> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<String> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
String removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -8256,6 +8296,14 @@ class DomStringList extends NativeFieldWrapperClass1 implements List<String> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<String> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [String fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<String> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -8514,6 +8562,14 @@ class _ChildrenElementList extends ListBase<Element> {
throw new UnimplementedError();
}
+ void replaceRange(int start, int end, Iterable<Element> iterable) {
+ throw new UnimplementedError();
+ }
+
+ void fillRange(int start, int end, [Element fillValue]) {
+ throw new UnimplementedError();
+ }
+
void remove(Object object) {
if (object is Element) {
Element element = object;
@@ -8564,6 +8620,14 @@ class _ChildrenElementList extends ListBase<Element> {
}
}
+ void insertAll(int index, Iterable<Element> iterable) {
+ throw new UnimplementedError();
+ }
+
+ void setAll(int index, Iterable<Element> iterable) {
+ throw new UnimplementedError();
+ }
+
void clear() {
// It is unclear if we want to keep non element nodes?
_element.text = '';
@@ -10887,6 +10951,14 @@ class FileList extends NativeFieldWrapperClass1 implements List<File> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<File> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<File> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
File removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -10915,6 +10987,14 @@ class FileList extends NativeFieldWrapperClass1 implements List<File> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<File> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [File fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<File> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -11397,6 +11477,14 @@ class Float32Array extends ArrayBufferView implements List<double> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<num> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<num> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
num removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -11425,6 +11513,14 @@ class Float32Array extends ArrayBufferView implements List<double> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<num> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [num fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<num> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -11636,6 +11732,14 @@ class Float64Array extends ArrayBufferView implements List<double> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<num> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<num> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
num removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -11664,6 +11768,14 @@ class Float64Array extends ArrayBufferView implements List<double> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<num> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [num fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<num> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -12324,6 +12436,14 @@ class HtmlAllCollection extends NativeFieldWrapperClass1 implements List<Node> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<Node> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<Node> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Node removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -12352,6 +12472,14 @@ class HtmlAllCollection extends NativeFieldWrapperClass1 implements List<Node> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<Node> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [Node fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<Node> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -12537,6 +12665,14 @@ class HtmlCollection extends NativeFieldWrapperClass1 implements List<Node> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<Node> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<Node> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Node removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -12565,6 +12701,14 @@ class HtmlCollection extends NativeFieldWrapperClass1 implements List<Node> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<Node> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [Node fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<Node> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -14906,6 +15050,14 @@ class Int16Array extends ArrayBufferView implements List<int> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
int removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -14934,6 +15086,14 @@ class Int16Array extends ArrayBufferView implements List<int> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [int fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<int> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -15145,6 +15305,14 @@ class Int32Array extends ArrayBufferView implements List<int> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
int removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -15173,6 +15341,14 @@ class Int32Array extends ArrayBufferView implements List<int> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [int fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<int> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -15384,6 +15560,14 @@ class Int8Array extends ArrayBufferView implements List<int> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
int removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -15412,6 +15596,14 @@ class Int8Array extends ArrayBufferView implements List<int> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [int fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<int> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -18067,6 +18259,14 @@ class _ChildNodeListLazy extends ListBase<Node> {
}
}
+ void insertAll(int index, Iterable<Node> iterable) {
+ throw new UnimplementedError();
+ }
+
+ void setAll(int index, Iterable<Node> iterable) {
+ throw new UnimplementedError();
+ }
+
Node removeLast() {
final result = last;
if (result != null) {
@@ -18151,6 +18351,14 @@ class _ChildNodeListLazy extends ListBase<Node> {
throw new UnimplementedError("NodeList.getRange");
}
+ void replaceRange(int start, int end, Iterable<Node> iterable) {
+ throw new UnimplementedError("NodeList.replaceRange");
+ }
+
+ void fillRange(int start, int end, [Node fillValue]) {
+ throw new UnimplementedError("NodeList.fillRange");
+ }
+
List<Node> sublist(int start, [int end]) {
if (end == null) end == length;
return Lists.getRange(this, start, end, <Node>[]);
@@ -18679,6 +18887,14 @@ class NodeList extends NativeFieldWrapperClass1 implements List<Node> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<Node> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<Node> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Node removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -18707,6 +18923,14 @@ class NodeList extends NativeFieldWrapperClass1 implements List<Node> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<Node> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [Node fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<Node> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -21302,6 +21526,14 @@ class SourceBufferList extends EventTarget implements List<SourceBuffer> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<SourceBuffer> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<SourceBuffer> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
SourceBuffer removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -21330,6 +21562,14 @@ class SourceBufferList extends EventTarget implements List<SourceBuffer> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<SourceBuffer> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [SourceBuffer fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<SourceBuffer> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -21624,6 +21864,14 @@ class SpeechGrammarList extends NativeFieldWrapperClass1 implements List<SpeechG
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<SpeechGrammar> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<SpeechGrammar> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
SpeechGrammar removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -21652,6 +21900,14 @@ class SpeechGrammarList extends NativeFieldWrapperClass1 implements List<SpeechG
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<SpeechGrammar> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [SpeechGrammar fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<SpeechGrammar> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -23361,6 +23617,14 @@ class TextTrackCueList extends NativeFieldWrapperClass1 implements List<TextTrac
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<TextTrackCue> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<TextTrackCue> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
TextTrackCue removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -23389,6 +23653,14 @@ class TextTrackCueList extends NativeFieldWrapperClass1 implements List<TextTrac
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<TextTrackCue> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [TextTrackCue fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<TextTrackCue> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -23574,6 +23846,14 @@ class TextTrackList extends EventTarget implements List<TextTrack> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<TextTrack> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<TextTrack> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
TextTrack removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -23602,6 +23882,14 @@ class TextTrackList extends EventTarget implements List<TextTrack> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<TextTrack> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [TextTrack fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<TextTrack> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -24004,6 +24292,14 @@ class TouchList extends NativeFieldWrapperClass1 implements List<Touch> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<Touch> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<Touch> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Touch removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -24032,6 +24328,14 @@ class TouchList extends NativeFieldWrapperClass1 implements List<Touch> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<Touch> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [Touch fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<Touch> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -24517,6 +24821,14 @@ class Uint16Array extends ArrayBufferView implements List<int> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
int removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -24545,6 +24857,14 @@ class Uint16Array extends ArrayBufferView implements List<int> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [int fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<int> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -24756,6 +25076,14 @@ class Uint32Array extends ArrayBufferView implements List<int> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
int removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -24784,6 +25112,14 @@ class Uint32Array extends ArrayBufferView implements List<int> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [int fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<int> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -24995,6 +25331,14 @@ class Uint8Array extends ArrayBufferView implements List<int> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
int removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -25023,6 +25367,14 @@ class Uint8Array extends ArrayBufferView implements List<int> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [int fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<int> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -25232,6 +25584,14 @@ class Uint8ClampedArray extends Uint8Array implements List<int> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
int removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -25260,6 +25620,14 @@ class Uint8ClampedArray extends Uint8Array implements List<int> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<int> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [int fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<int> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -27334,6 +27702,14 @@ class _ClientRectList extends NativeFieldWrapperClass1 implements List<Rect> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<Rect> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<Rect> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Rect removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -27362,6 +27738,14 @@ class _ClientRectList extends NativeFieldWrapperClass1 implements List<Rect> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<Rect> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [Rect fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<Rect> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -27552,6 +27936,14 @@ class _CssRuleList extends NativeFieldWrapperClass1 implements List<CssRule> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<CssRule> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<CssRule> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
CssRule removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -27580,6 +27972,14 @@ class _CssRuleList extends NativeFieldWrapperClass1 implements List<CssRule> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<CssRule> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [CssRule fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<CssRule> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -27757,6 +28157,14 @@ class _CssValueList extends _CSSValue implements List<_CSSValue> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<_CSSValue> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<_CSSValue> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
_CSSValue removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -27785,6 +28193,14 @@ class _CssValueList extends _CSSValue implements List<_CSSValue> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<_CSSValue> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [_CSSValue fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<_CSSValue> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -28198,6 +28614,14 @@ class _EntryArray extends NativeFieldWrapperClass1 implements List<Entry> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<Entry> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<Entry> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Entry removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -28226,6 +28650,14 @@ class _EntryArray extends NativeFieldWrapperClass1 implements List<Entry> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<Entry> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [Entry fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<Entry> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -28403,6 +28835,14 @@ class _EntryArraySync extends NativeFieldWrapperClass1 implements List<_EntrySyn
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<_EntrySync> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<_EntrySync> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
_EntrySync removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -28431,6 +28871,14 @@ class _EntryArraySync extends NativeFieldWrapperClass1 implements List<_EntrySyn
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<_EntrySync> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [_EntrySync fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<_EntrySync> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -28669,6 +29117,14 @@ class _GamepadList extends NativeFieldWrapperClass1 implements List<Gamepad> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<Gamepad> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<Gamepad> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Gamepad removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -28697,6 +29153,14 @@ class _GamepadList extends NativeFieldWrapperClass1 implements List<Gamepad> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<Gamepad> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [Gamepad fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<Gamepad> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -28965,6 +29429,14 @@ class _NamedNodeMap extends NativeFieldWrapperClass1 implements List<Node> {
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<Node> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<Node> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Node removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -28993,6 +29465,14 @@ class _NamedNodeMap extends NativeFieldWrapperClass1 implements List<Node> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<Node> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [Node fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<Node> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -29255,6 +29735,14 @@ class _SpeechInputResultList extends NativeFieldWrapperClass1 implements List<Sp
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<SpeechInputResult> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<SpeechInputResult> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
SpeechInputResult removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -29283,6 +29771,14 @@ class _SpeechInputResultList extends NativeFieldWrapperClass1 implements List<Sp
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<SpeechInputResult> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [SpeechInputResult fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<SpeechInputResult> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -29460,6 +29956,14 @@ class _SpeechRecognitionResultList extends NativeFieldWrapperClass1 implements L
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<SpeechRecognitionResult> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<SpeechRecognitionResult> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
SpeechRecognitionResult removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -29488,6 +29992,14 @@ class _SpeechRecognitionResultList extends NativeFieldWrapperClass1 implements L
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<SpeechRecognitionResult> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [SpeechRecognitionResult fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<SpeechRecognitionResult> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -29665,6 +30177,14 @@ class _StyleSheetList extends NativeFieldWrapperClass1 implements List<StyleShee
throw new UnsupportedError("Cannot add to immutable List.");
}
+ void insertAll(int index, Iterable<StyleSheet> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void setAll(int index, Iterable<StyleSheet> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
StyleSheet removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -29693,6 +30213,14 @@ class _StyleSheetList extends NativeFieldWrapperClass1 implements List<StyleShee
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
+ void replaceRange(int start, int end, Iterable<StyleSheet> iterable) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
+ void fillRange(int start, int end, [StyleSheet fillValue]) {
+ throw new UnsupportedError("Cannot modify an immutable List.");
+ }
+
Iterable<StyleSheet> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -32256,6 +32784,12 @@ class _WrappedList<E> implements List<E> {
void insert(int index, E element) => _list.insert(index, element);
+ void insertAll(int index, Iterable<E> iterable) =>
+ _list.insertAll(index, iterable);
+
+ void setAll(int index, Iterable<E> iterable) =>
+ _list.setAll(index, iterable);
+
E removeAt(int index) => _list.removeAt(index);
E removeLast() => _list.removeLast();
@@ -32270,6 +32804,14 @@ class _WrappedList<E> implements List<E> {
void removeRange(int start, int end) { _list.removeRange(start, end); }
+ void replaceRange(int start, int end, Iterable<E> iterable) {
+ _list.replaceRange(start, end, iterable);
+ }
+
+ void fillRange(int start, int end, [E fillValue]) {
+ _list.fillRange(start, end, fillValue);
+ }
+
Map<int, E> asMap() => _list.asMap();
String toString() {

Powered by Google App Engine
This is Rietveld 408576698