Index: client/html/generated/html/frog/StyleSheetList.dart |
diff --git a/client/html/generated/html/frog/StyleSheetList.dart b/client/html/generated/html/frog/StyleSheetList.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..92c52f706ca8dab157c56959bf7a22c9525516a6 |
--- /dev/null |
+++ b/client/html/generated/html/frog/StyleSheetList.dart |
@@ -0,0 +1,80 @@ |
+ |
+class _StyleSheetListImpl implements StyleSheetList native "*StyleSheetList" { |
+ |
+ final int length; |
+ |
+ _StyleSheetImpl operator[](int index) native "return this[index];"; |
+ |
+ void operator[]=(int index, _StyleSheetImpl value) { |
+ throw new UnsupportedOperationException("Cannot assign element of immutable List."); |
+ } |
+ // -- start List<StyleSheet> mixins. |
+ // StyleSheet is the element type. |
+ |
+ // From Iterable<StyleSheet>: |
+ |
+ Iterator<StyleSheet> iterator() { |
+ // Note: NodeLists are not fixed size. And most probably length shouldn't |
+ // be cached in both iterator _and_ forEach method. For now caching it |
+ // for consistency. |
+ return new _FixedSizeListIterator<StyleSheet>(this); |
+ } |
+ |
+ // From Collection<StyleSheet>: |
+ |
+ void add(StyleSheet value) { |
+ throw new UnsupportedOperationException("Cannot add to immutable List."); |
+ } |
+ |
+ void addLast(StyleSheet value) { |
+ throw new UnsupportedOperationException("Cannot add to immutable List."); |
+ } |
+ |
+ void addAll(Collection<StyleSheet> collection) { |
+ throw new UnsupportedOperationException("Cannot add to immutable List."); |
+ } |
+ |
+ void forEach(void f(StyleSheet element)) => _Collections.forEach(this, f); |
+ |
+ Collection map(f(StyleSheet element)) => _Collections.map(this, [], f); |
+ |
+ Collection<StyleSheet> filter(bool f(StyleSheet element)) => |
+ _Collections.filter(this, <StyleSheet>[], f); |
+ |
+ bool every(bool f(StyleSheet element)) => _Collections.every(this, f); |
+ |
+ bool some(bool f(StyleSheet element)) => _Collections.some(this, f); |
+ |
+ bool isEmpty() => this.length == 0; |
+ |
+ // From List<StyleSheet>: |
+ |
+ void sort(int compare(StyleSheet a, StyleSheet b)) { |
+ throw new UnsupportedOperationException("Cannot sort immutable List."); |
+ } |
+ |
+ int indexOf(StyleSheet element, [int start = 0]) => |
+ _Lists.indexOf(this, element, start, this.length); |
+ |
+ int lastIndexOf(StyleSheet element, [int start = 0]) => |
+ _Lists.lastIndexOf(this, element, start); |
+ |
+ StyleSheet last() => this[length - 1]; |
+ |
+ // FIXME: implement thesee. |
+ void setRange(int start, int length, List<StyleSheet> from, [int startFrom]) { |
+ throw new UnsupportedOperationException("Cannot setRange on immutable List."); |
+ } |
+ void removeRange(int start, int length) { |
+ throw new UnsupportedOperationException("Cannot removeRange on immutable List."); |
+ } |
+ void insertRange(int start, int length, [StyleSheet initialValue]) { |
+ throw new UnsupportedOperationException("Cannot insertRange on immutable List."); |
+ } |
+ List<StyleSheet> getRange(int start, int length) => |
+ _Lists.getRange(this, start, length, <StyleSheet>[]); |
+ |
+ // -- end List<StyleSheet> mixins. |
+ |
+ _StyleSheetImpl item(int index) native; |
+} |