| OLD | NEW |
| 1 library svg; | 1 library svg; |
| 2 | 2 |
| 3 import 'dart:async'; | 3 import 'dart:async'; |
| 4 import 'dart:collection'; | 4 import 'dart:collection'; |
| 5 import 'dart:collection-dev'; | 5 import 'dart:collection-dev'; |
| 6 import 'dart:html'; | 6 import 'dart:html'; |
| 7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
| 8 import 'dart:nativewrappers'; | 8 import 'dart:nativewrappers'; |
| 9 // DO NOT EDIT | 9 // DO NOT EDIT |
| 10 // Auto-generated dart:svg library. | 10 // Auto-generated dart:svg library. |
| (...skipping 4009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4020 throw new UnsupportedError("Cannot add to immutable List."); | 4020 throw new UnsupportedError("Cannot add to immutable List."); |
| 4021 } | 4021 } |
| 4022 | 4022 |
| 4023 // From List<Length>: | 4023 // From List<Length>: |
| 4024 void set length(int value) { | 4024 void set length(int value) { |
| 4025 throw new UnsupportedError("Cannot resize immutable List."); | 4025 throw new UnsupportedError("Cannot resize immutable List."); |
| 4026 } | 4026 } |
| 4027 | 4027 |
| 4028 // clear() defined by IDL. | 4028 // clear() defined by IDL. |
| 4029 | 4029 |
| 4030 List<Length> get reversed => | 4030 List<Length> get reversed { |
| 4031 new ReversedListView<Length>(this, 0, null); | 4031 return IterableMixinWorkaround.reversedList(this); |
| 4032 } |
| 4032 | 4033 |
| 4033 void sort([int compare(Length a, Length b)]) { | 4034 void sort([int compare(Length a, Length b)]) { |
| 4034 throw new UnsupportedError("Cannot sort immutable List."); | 4035 throw new UnsupportedError("Cannot sort immutable List."); |
| 4035 } | 4036 } |
| 4036 | 4037 |
| 4037 int indexOf(Length element, [int start = 0]) => | 4038 int indexOf(Length element, [int start = 0]) => |
| 4038 Lists.indexOf(this, element, start, this.length); | 4039 Lists.indexOf(this, element, start, this.length); |
| 4039 | 4040 |
| 4040 int lastIndexOf(Length element, [int start]) { | 4041 int lastIndexOf(Length element, [int start]) { |
| 4041 if (start == null) start = length - 1; | 4042 if (start == null) start = length - 1; |
| (...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4785 throw new UnsupportedError("Cannot add to immutable List."); | 4786 throw new UnsupportedError("Cannot add to immutable List."); |
| 4786 } | 4787 } |
| 4787 | 4788 |
| 4788 // From List<Number>: | 4789 // From List<Number>: |
| 4789 void set length(int value) { | 4790 void set length(int value) { |
| 4790 throw new UnsupportedError("Cannot resize immutable List."); | 4791 throw new UnsupportedError("Cannot resize immutable List."); |
| 4791 } | 4792 } |
| 4792 | 4793 |
| 4793 // clear() defined by IDL. | 4794 // clear() defined by IDL. |
| 4794 | 4795 |
| 4795 List<Number> get reversed => | 4796 List<Number> get reversed { |
| 4796 new ReversedListView<Number>(this, 0, null); | 4797 return IterableMixinWorkaround.reversedList(this); |
| 4798 } |
| 4797 | 4799 |
| 4798 void sort([int compare(Number a, Number b)]) { | 4800 void sort([int compare(Number a, Number b)]) { |
| 4799 throw new UnsupportedError("Cannot sort immutable List."); | 4801 throw new UnsupportedError("Cannot sort immutable List."); |
| 4800 } | 4802 } |
| 4801 | 4803 |
| 4802 int indexOf(Number element, [int start = 0]) => | 4804 int indexOf(Number element, [int start = 0]) => |
| 4803 Lists.indexOf(this, element, start, this.length); | 4805 Lists.indexOf(this, element, start, this.length); |
| 4804 | 4806 |
| 4805 int lastIndexOf(Number element, [int start]) { | 4807 int lastIndexOf(Number element, [int start]) { |
| 4806 if (start == null) start = length - 1; | 4808 if (start == null) start = length - 1; |
| (...skipping 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5968 throw new UnsupportedError("Cannot add to immutable List."); | 5970 throw new UnsupportedError("Cannot add to immutable List."); |
| 5969 } | 5971 } |
| 5970 | 5972 |
| 5971 // From List<PathSeg>: | 5973 // From List<PathSeg>: |
| 5972 void set length(int value) { | 5974 void set length(int value) { |
| 5973 throw new UnsupportedError("Cannot resize immutable List."); | 5975 throw new UnsupportedError("Cannot resize immutable List."); |
| 5974 } | 5976 } |
| 5975 | 5977 |
| 5976 // clear() defined by IDL. | 5978 // clear() defined by IDL. |
| 5977 | 5979 |
| 5978 List<PathSeg> get reversed => | 5980 List<PathSeg> get reversed { |
| 5979 new ReversedListView<PathSeg>(this, 0, null); | 5981 return IterableMixinWorkaround.reversedList(this); |
| 5982 } |
| 5980 | 5983 |
| 5981 void sort([int compare(PathSeg a, PathSeg b)]) { | 5984 void sort([int compare(PathSeg a, PathSeg b)]) { |
| 5982 throw new UnsupportedError("Cannot sort immutable List."); | 5985 throw new UnsupportedError("Cannot sort immutable List."); |
| 5983 } | 5986 } |
| 5984 | 5987 |
| 5985 int indexOf(PathSeg element, [int start = 0]) => | 5988 int indexOf(PathSeg element, [int start = 0]) => |
| 5986 Lists.indexOf(this, element, start, this.length); | 5989 Lists.indexOf(this, element, start, this.length); |
| 5987 | 5990 |
| 5988 int lastIndexOf(PathSeg element, [int start]) { | 5991 int lastIndexOf(PathSeg element, [int start]) { |
| 5989 if (start == null) start = length - 1; | 5992 if (start == null) start = length - 1; |
| (...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6991 throw new UnsupportedError("Cannot add to immutable List."); | 6994 throw new UnsupportedError("Cannot add to immutable List."); |
| 6992 } | 6995 } |
| 6993 | 6996 |
| 6994 // From List<String>: | 6997 // From List<String>: |
| 6995 void set length(int value) { | 6998 void set length(int value) { |
| 6996 throw new UnsupportedError("Cannot resize immutable List."); | 6999 throw new UnsupportedError("Cannot resize immutable List."); |
| 6997 } | 7000 } |
| 6998 | 7001 |
| 6999 // clear() defined by IDL. | 7002 // clear() defined by IDL. |
| 7000 | 7003 |
| 7001 List<String> get reversed => | 7004 List<String> get reversed { |
| 7002 new ReversedListView<String>(this, 0, null); | 7005 return IterableMixinWorkaround.reversedList(this); |
| 7006 } |
| 7003 | 7007 |
| 7004 void sort([int compare(String a, String b)]) { | 7008 void sort([int compare(String a, String b)]) { |
| 7005 throw new UnsupportedError("Cannot sort immutable List."); | 7009 throw new UnsupportedError("Cannot sort immutable List."); |
| 7006 } | 7010 } |
| 7007 | 7011 |
| 7008 int indexOf(String element, [int start = 0]) => | 7012 int indexOf(String element, [int start = 0]) => |
| 7009 Lists.indexOf(this, element, start, this.length); | 7013 Lists.indexOf(this, element, start, this.length); |
| 7010 | 7014 |
| 7011 int lastIndexOf(String element, [int start]) { | 7015 int lastIndexOf(String element, [int start]) { |
| 7012 if (start == null) start = length - 1; | 7016 if (start == null) start = length - 1; |
| (...skipping 1296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8309 throw new UnsupportedError("Cannot add to immutable List."); | 8313 throw new UnsupportedError("Cannot add to immutable List."); |
| 8310 } | 8314 } |
| 8311 | 8315 |
| 8312 // From List<Transform>: | 8316 // From List<Transform>: |
| 8313 void set length(int value) { | 8317 void set length(int value) { |
| 8314 throw new UnsupportedError("Cannot resize immutable List."); | 8318 throw new UnsupportedError("Cannot resize immutable List."); |
| 8315 } | 8319 } |
| 8316 | 8320 |
| 8317 // clear() defined by IDL. | 8321 // clear() defined by IDL. |
| 8318 | 8322 |
| 8319 List<Transform> get reversed => | 8323 List<Transform> get reversed { |
| 8320 new ReversedListView<Transform>(this, 0, null); | 8324 return IterableMixinWorkaround.reversedList(this); |
| 8325 } |
| 8321 | 8326 |
| 8322 void sort([int compare(Transform a, Transform b)]) { | 8327 void sort([int compare(Transform a, Transform b)]) { |
| 8323 throw new UnsupportedError("Cannot sort immutable List."); | 8328 throw new UnsupportedError("Cannot sort immutable List."); |
| 8324 } | 8329 } |
| 8325 | 8330 |
| 8326 int indexOf(Transform element, [int start = 0]) => | 8331 int indexOf(Transform element, [int start = 0]) => |
| 8327 Lists.indexOf(this, element, start, this.length); | 8332 Lists.indexOf(this, element, start, this.length); |
| 8328 | 8333 |
| 8329 int lastIndexOf(Transform element, [int start]) { | 8334 int lastIndexOf(Transform element, [int start]) { |
| 8330 if (start == null) start = length - 1; | 8335 if (start == null) start = length - 1; |
| (...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8903 | 8908 |
| 8904 // From List<ElementInstance>: | 8909 // From List<ElementInstance>: |
| 8905 void set length(int value) { | 8910 void set length(int value) { |
| 8906 throw new UnsupportedError("Cannot resize immutable List."); | 8911 throw new UnsupportedError("Cannot resize immutable List."); |
| 8907 } | 8912 } |
| 8908 | 8913 |
| 8909 void clear() { | 8914 void clear() { |
| 8910 throw new UnsupportedError("Cannot clear immutable List."); | 8915 throw new UnsupportedError("Cannot clear immutable List."); |
| 8911 } | 8916 } |
| 8912 | 8917 |
| 8913 List<ElementInstance> get reversed => | 8918 List<ElementInstance> get reversed { |
| 8914 new ReversedListView<ElementInstance>(this, 0, null); | 8919 return IterableMixinWorkaround.reversedList(this); |
| 8920 } |
| 8915 | 8921 |
| 8916 void sort([int compare(ElementInstance a, ElementInstance b)]) { | 8922 void sort([int compare(ElementInstance a, ElementInstance b)]) { |
| 8917 throw new UnsupportedError("Cannot sort immutable List."); | 8923 throw new UnsupportedError("Cannot sort immutable List."); |
| 8918 } | 8924 } |
| 8919 | 8925 |
| 8920 int indexOf(ElementInstance element, [int start = 0]) => | 8926 int indexOf(ElementInstance element, [int start = 0]) => |
| 8921 Lists.indexOf(this, element, start, this.length); | 8927 Lists.indexOf(this, element, start, this.length); |
| 8922 | 8928 |
| 8923 int lastIndexOf(ElementInstance element, [int start]) { | 8929 int lastIndexOf(ElementInstance element, [int start]) { |
| 8924 if (start == null) start = length - 1; | 8930 if (start == null) start = length - 1; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8990 List<ElementInstance> getRange(int start, int rangeLength) => | 8996 List<ElementInstance> getRange(int start, int rangeLength) => |
| 8991 Lists.getRange(this, start, rangeLength, <ElementInstance>[]); | 8997 Lists.getRange(this, start, rangeLength, <ElementInstance>[]); |
| 8992 | 8998 |
| 8993 // -- end List<ElementInstance> mixins. | 8999 // -- end List<ElementInstance> mixins. |
| 8994 | 9000 |
| 8995 @DomName('SVGElementInstanceList.item') | 9001 @DomName('SVGElementInstanceList.item') |
| 8996 @DocsEditable | 9002 @DocsEditable |
| 8997 ElementInstance item(int index) native "SVGElementInstanceList_item_Callback"; | 9003 ElementInstance item(int index) native "SVGElementInstanceList_item_Callback"; |
| 8998 | 9004 |
| 8999 } | 9005 } |
| OLD | NEW |