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

Side by Side Diff: sdk/lib/svg/dart2js/svg_dart2js.dart

Issue 12537009: Rename XMatching to XWhere. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge and rebuild dom libraries. Created 7 years, 9 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:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 library dart.dom.svg; 1 library dart.dom.svg;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:html'; 5 import 'dart:html';
6 import 'dart:html_common'; 6 import 'dart:html_common';
7 import 'dart:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa me; 7 import 'dart:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa me;
8 import 'dart:_foreign_helper' show JS; 8 import 'dart:_foreign_helper' show JS;
9 // DO NOT EDIT - unless you are editing documentation as per: 9 // DO NOT EDIT - unless you are editing documentation as per:
10 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation 10 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
(...skipping 3094 matching lines...) Expand 10 before | Expand all | Expand 10 after
3105 Iterable<Length> takeWhile(bool test(Length value)) { 3105 Iterable<Length> takeWhile(bool test(Length value)) {
3106 return IterableMixinWorkaround.takeWhile(this, test); 3106 return IterableMixinWorkaround.takeWhile(this, test);
3107 } 3107 }
3108 3108
3109 Iterable<Length> skip(int n) => IterableMixinWorkaround.skipList(this, n); 3109 Iterable<Length> skip(int n) => IterableMixinWorkaround.skipList(this, n);
3110 3110
3111 Iterable<Length> skipWhile(bool test(Length value)) { 3111 Iterable<Length> skipWhile(bool test(Length value)) {
3112 return IterableMixinWorkaround.skipWhile(this, test); 3112 return IterableMixinWorkaround.skipWhile(this, test);
3113 } 3113 }
3114 3114
3115 Length firstMatching(bool test(Length value), { Length orElse() }) { 3115 Length firstWhere(bool test(Length value), { Length orElse() }) {
3116 return IterableMixinWorkaround.firstMatching(this, test, orElse); 3116 return IterableMixinWorkaround.firstWhere(this, test, orElse);
3117 } 3117 }
3118 3118
3119 Length lastMatching(bool test(Length value), {Length orElse()}) { 3119 Length lastWhere(bool test(Length value), {Length orElse()}) {
3120 return IterableMixinWorkaround.lastMatchingInList(this, test, orElse); 3120 return IterableMixinWorkaround.lastWhereList(this, test, orElse);
3121 } 3121 }
3122 3122
3123 Length singleMatching(bool test(Length value)) { 3123 Length singleWhere(bool test(Length value)) {
3124 return IterableMixinWorkaround.singleMatching(this, test); 3124 return IterableMixinWorkaround.singleWhere(this, test);
3125 } 3125 }
3126 3126
3127 Length elementAt(int index) { 3127 Length elementAt(int index) {
3128 return this[index]; 3128 return this[index];
3129 } 3129 }
3130 3130
3131 // From Collection<Length>: 3131 // From Collection<Length>:
3132 3132
3133 void add(Length value) { 3133 void add(Length value) {
3134 throw new UnsupportedError("Cannot add to immutable List."); 3134 throw new UnsupportedError("Cannot add to immutable List.");
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
3200 } 3200 }
3201 3201
3202 void removeAll(Iterable elements) { 3202 void removeAll(Iterable elements) {
3203 throw new UnsupportedError("Cannot remove from immutable List."); 3203 throw new UnsupportedError("Cannot remove from immutable List.");
3204 } 3204 }
3205 3205
3206 void retainAll(Iterable elements) { 3206 void retainAll(Iterable elements) {
3207 throw new UnsupportedError("Cannot remove from immutable List."); 3207 throw new UnsupportedError("Cannot remove from immutable List.");
3208 } 3208 }
3209 3209
3210 void removeMatching(bool test(Length element)) { 3210 void removeWhere(bool test(Length element)) {
3211 throw new UnsupportedError("Cannot remove from immutable List."); 3211 throw new UnsupportedError("Cannot remove from immutable List.");
3212 } 3212 }
3213 3213
3214 void retainMatching(bool test(Length element)) { 3214 void retainWhere(bool test(Length element)) {
3215 throw new UnsupportedError("Cannot remove from immutable List."); 3215 throw new UnsupportedError("Cannot remove from immutable List.");
3216 } 3216 }
3217 3217
3218 void setRange(int start, int rangeLength, List<Length> from, [int startFrom]) { 3218 void setRange(int start, int rangeLength, List<Length> from, [int startFrom]) {
3219 throw new UnsupportedError("Cannot setRange on immutable List."); 3219 throw new UnsupportedError("Cannot setRange on immutable List.");
3220 } 3220 }
3221 3221
3222 void removeRange(int start, int rangeLength) { 3222 void removeRange(int start, int rangeLength) {
3223 throw new UnsupportedError("Cannot removeRange on immutable List."); 3223 throw new UnsupportedError("Cannot removeRange on immutable List.");
3224 } 3224 }
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
3734 Iterable<Number> takeWhile(bool test(Number value)) { 3734 Iterable<Number> takeWhile(bool test(Number value)) {
3735 return IterableMixinWorkaround.takeWhile(this, test); 3735 return IterableMixinWorkaround.takeWhile(this, test);
3736 } 3736 }
3737 3737
3738 Iterable<Number> skip(int n) => IterableMixinWorkaround.skipList(this, n); 3738 Iterable<Number> skip(int n) => IterableMixinWorkaround.skipList(this, n);
3739 3739
3740 Iterable<Number> skipWhile(bool test(Number value)) { 3740 Iterable<Number> skipWhile(bool test(Number value)) {
3741 return IterableMixinWorkaround.skipWhile(this, test); 3741 return IterableMixinWorkaround.skipWhile(this, test);
3742 } 3742 }
3743 3743
3744 Number firstMatching(bool test(Number value), { Number orElse() }) { 3744 Number firstWhere(bool test(Number value), { Number orElse() }) {
3745 return IterableMixinWorkaround.firstMatching(this, test, orElse); 3745 return IterableMixinWorkaround.firstWhere(this, test, orElse);
3746 } 3746 }
3747 3747
3748 Number lastMatching(bool test(Number value), {Number orElse()}) { 3748 Number lastWhere(bool test(Number value), {Number orElse()}) {
3749 return IterableMixinWorkaround.lastMatchingInList(this, test, orElse); 3749 return IterableMixinWorkaround.lastWhereList(this, test, orElse);
3750 } 3750 }
3751 3751
3752 Number singleMatching(bool test(Number value)) { 3752 Number singleWhere(bool test(Number value)) {
3753 return IterableMixinWorkaround.singleMatching(this, test); 3753 return IterableMixinWorkaround.singleWhere(this, test);
3754 } 3754 }
3755 3755
3756 Number elementAt(int index) { 3756 Number elementAt(int index) {
3757 return this[index]; 3757 return this[index];
3758 } 3758 }
3759 3759
3760 // From Collection<Number>: 3760 // From Collection<Number>:
3761 3761
3762 void add(Number value) { 3762 void add(Number value) {
3763 throw new UnsupportedError("Cannot add to immutable List."); 3763 throw new UnsupportedError("Cannot add to immutable List.");
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
3829 } 3829 }
3830 3830
3831 void removeAll(Iterable elements) { 3831 void removeAll(Iterable elements) {
3832 throw new UnsupportedError("Cannot remove from immutable List."); 3832 throw new UnsupportedError("Cannot remove from immutable List.");
3833 } 3833 }
3834 3834
3835 void retainAll(Iterable elements) { 3835 void retainAll(Iterable elements) {
3836 throw new UnsupportedError("Cannot remove from immutable List."); 3836 throw new UnsupportedError("Cannot remove from immutable List.");
3837 } 3837 }
3838 3838
3839 void removeMatching(bool test(Number element)) { 3839 void removeWhere(bool test(Number element)) {
3840 throw new UnsupportedError("Cannot remove from immutable List."); 3840 throw new UnsupportedError("Cannot remove from immutable List.");
3841 } 3841 }
3842 3842
3843 void retainMatching(bool test(Number element)) { 3843 void retainWhere(bool test(Number element)) {
3844 throw new UnsupportedError("Cannot remove from immutable List."); 3844 throw new UnsupportedError("Cannot remove from immutable List.");
3845 } 3845 }
3846 3846
3847 void setRange(int start, int rangeLength, List<Number> from, [int startFrom]) { 3847 void setRange(int start, int rangeLength, List<Number> from, [int startFrom]) {
3848 throw new UnsupportedError("Cannot setRange on immutable List."); 3848 throw new UnsupportedError("Cannot setRange on immutable List.");
3849 } 3849 }
3850 3850
3851 void removeRange(int start, int rangeLength) { 3851 void removeRange(int start, int rangeLength) {
3852 throw new UnsupportedError("Cannot removeRange on immutable List."); 3852 throw new UnsupportedError("Cannot removeRange on immutable List.");
3853 } 3853 }
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
4639 Iterable<PathSeg> takeWhile(bool test(PathSeg value)) { 4639 Iterable<PathSeg> takeWhile(bool test(PathSeg value)) {
4640 return IterableMixinWorkaround.takeWhile(this, test); 4640 return IterableMixinWorkaround.takeWhile(this, test);
4641 } 4641 }
4642 4642
4643 Iterable<PathSeg> skip(int n) => IterableMixinWorkaround.skipList(this, n); 4643 Iterable<PathSeg> skip(int n) => IterableMixinWorkaround.skipList(this, n);
4644 4644
4645 Iterable<PathSeg> skipWhile(bool test(PathSeg value)) { 4645 Iterable<PathSeg> skipWhile(bool test(PathSeg value)) {
4646 return IterableMixinWorkaround.skipWhile(this, test); 4646 return IterableMixinWorkaround.skipWhile(this, test);
4647 } 4647 }
4648 4648
4649 PathSeg firstMatching(bool test(PathSeg value), { PathSeg orElse() }) { 4649 PathSeg firstWhere(bool test(PathSeg value), { PathSeg orElse() }) {
4650 return IterableMixinWorkaround.firstMatching(this, test, orElse); 4650 return IterableMixinWorkaround.firstWhere(this, test, orElse);
4651 } 4651 }
4652 4652
4653 PathSeg lastMatching(bool test(PathSeg value), {PathSeg orElse()}) { 4653 PathSeg lastWhere(bool test(PathSeg value), {PathSeg orElse()}) {
4654 return IterableMixinWorkaround.lastMatchingInList(this, test, orElse); 4654 return IterableMixinWorkaround.lastWhereList(this, test, orElse);
4655 } 4655 }
4656 4656
4657 PathSeg singleMatching(bool test(PathSeg value)) { 4657 PathSeg singleWhere(bool test(PathSeg value)) {
4658 return IterableMixinWorkaround.singleMatching(this, test); 4658 return IterableMixinWorkaround.singleWhere(this, test);
4659 } 4659 }
4660 4660
4661 PathSeg elementAt(int index) { 4661 PathSeg elementAt(int index) {
4662 return this[index]; 4662 return this[index];
4663 } 4663 }
4664 4664
4665 // From Collection<PathSeg>: 4665 // From Collection<PathSeg>:
4666 4666
4667 void add(PathSeg value) { 4667 void add(PathSeg value) {
4668 throw new UnsupportedError("Cannot add to immutable List."); 4668 throw new UnsupportedError("Cannot add to immutable List.");
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
4734 } 4734 }
4735 4735
4736 void removeAll(Iterable elements) { 4736 void removeAll(Iterable elements) {
4737 throw new UnsupportedError("Cannot remove from immutable List."); 4737 throw new UnsupportedError("Cannot remove from immutable List.");
4738 } 4738 }
4739 4739
4740 void retainAll(Iterable elements) { 4740 void retainAll(Iterable elements) {
4741 throw new UnsupportedError("Cannot remove from immutable List."); 4741 throw new UnsupportedError("Cannot remove from immutable List.");
4742 } 4742 }
4743 4743
4744 void removeMatching(bool test(PathSeg element)) { 4744 void removeWhere(bool test(PathSeg element)) {
4745 throw new UnsupportedError("Cannot remove from immutable List."); 4745 throw new UnsupportedError("Cannot remove from immutable List.");
4746 } 4746 }
4747 4747
4748 void retainMatching(bool test(PathSeg element)) { 4748 void retainWhere(bool test(PathSeg element)) {
4749 throw new UnsupportedError("Cannot remove from immutable List."); 4749 throw new UnsupportedError("Cannot remove from immutable List.");
4750 } 4750 }
4751 4751
4752 void setRange(int start, int rangeLength, List<PathSeg> from, [int startFrom]) { 4752 void setRange(int start, int rangeLength, List<PathSeg> from, [int startFrom]) {
4753 throw new UnsupportedError("Cannot setRange on immutable List."); 4753 throw new UnsupportedError("Cannot setRange on immutable List.");
4754 } 4754 }
4755 4755
4756 void removeRange(int start, int rangeLength) { 4756 void removeRange(int start, int rangeLength) {
4757 throw new UnsupportedError("Cannot removeRange on immutable List."); 4757 throw new UnsupportedError("Cannot removeRange on immutable List.");
4758 } 4758 }
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
5529 Iterable<String> takeWhile(bool test(String value)) { 5529 Iterable<String> takeWhile(bool test(String value)) {
5530 return IterableMixinWorkaround.takeWhile(this, test); 5530 return IterableMixinWorkaround.takeWhile(this, test);
5531 } 5531 }
5532 5532
5533 Iterable<String> skip(int n) => IterableMixinWorkaround.skipList(this, n); 5533 Iterable<String> skip(int n) => IterableMixinWorkaround.skipList(this, n);
5534 5534
5535 Iterable<String> skipWhile(bool test(String value)) { 5535 Iterable<String> skipWhile(bool test(String value)) {
5536 return IterableMixinWorkaround.skipWhile(this, test); 5536 return IterableMixinWorkaround.skipWhile(this, test);
5537 } 5537 }
5538 5538
5539 String firstMatching(bool test(String value), { String orElse() }) { 5539 String firstWhere(bool test(String value), { String orElse() }) {
5540 return IterableMixinWorkaround.firstMatching(this, test, orElse); 5540 return IterableMixinWorkaround.firstWhere(this, test, orElse);
5541 } 5541 }
5542 5542
5543 String lastMatching(bool test(String value), {String orElse()}) { 5543 String lastWhere(bool test(String value), {String orElse()}) {
5544 return IterableMixinWorkaround.lastMatchingInList(this, test, orElse); 5544 return IterableMixinWorkaround.lastWhereList(this, test, orElse);
5545 } 5545 }
5546 5546
5547 String singleMatching(bool test(String value)) { 5547 String singleWhere(bool test(String value)) {
5548 return IterableMixinWorkaround.singleMatching(this, test); 5548 return IterableMixinWorkaround.singleWhere(this, test);
5549 } 5549 }
5550 5550
5551 String elementAt(int index) { 5551 String elementAt(int index) {
5552 return this[index]; 5552 return this[index];
5553 } 5553 }
5554 5554
5555 // From Collection<String>: 5555 // From Collection<String>:
5556 5556
5557 void add(String value) { 5557 void add(String value) {
5558 throw new UnsupportedError("Cannot add to immutable List."); 5558 throw new UnsupportedError("Cannot add to immutable List.");
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
5624 } 5624 }
5625 5625
5626 void removeAll(Iterable elements) { 5626 void removeAll(Iterable elements) {
5627 throw new UnsupportedError("Cannot remove from immutable List."); 5627 throw new UnsupportedError("Cannot remove from immutable List.");
5628 } 5628 }
5629 5629
5630 void retainAll(Iterable elements) { 5630 void retainAll(Iterable elements) {
5631 throw new UnsupportedError("Cannot remove from immutable List."); 5631 throw new UnsupportedError("Cannot remove from immutable List.");
5632 } 5632 }
5633 5633
5634 void removeMatching(bool test(String element)) { 5634 void removeWhere(bool test(String element)) {
5635 throw new UnsupportedError("Cannot remove from immutable List."); 5635 throw new UnsupportedError("Cannot remove from immutable List.");
5636 } 5636 }
5637 5637
5638 void retainMatching(bool test(String element)) { 5638 void retainWhere(bool test(String element)) {
5639 throw new UnsupportedError("Cannot remove from immutable List."); 5639 throw new UnsupportedError("Cannot remove from immutable List.");
5640 } 5640 }
5641 5641
5642 void setRange(int start, int rangeLength, List<String> from, [int startFrom]) { 5642 void setRange(int start, int rangeLength, List<String> from, [int startFrom]) {
5643 throw new UnsupportedError("Cannot setRange on immutable List."); 5643 throw new UnsupportedError("Cannot setRange on immutable List.");
5644 } 5644 }
5645 5645
5646 void removeRange(int start, int rangeLength) { 5646 void removeRange(int start, int rangeLength) {
5647 throw new UnsupportedError("Cannot removeRange on immutable List."); 5647 throw new UnsupportedError("Cannot removeRange on immutable List.");
5648 } 5648 }
(...skipping 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after
6696 Iterable<Transform> takeWhile(bool test(Transform value)) { 6696 Iterable<Transform> takeWhile(bool test(Transform value)) {
6697 return IterableMixinWorkaround.takeWhile(this, test); 6697 return IterableMixinWorkaround.takeWhile(this, test);
6698 } 6698 }
6699 6699
6700 Iterable<Transform> skip(int n) => IterableMixinWorkaround.skipList(this, n); 6700 Iterable<Transform> skip(int n) => IterableMixinWorkaround.skipList(this, n);
6701 6701
6702 Iterable<Transform> skipWhile(bool test(Transform value)) { 6702 Iterable<Transform> skipWhile(bool test(Transform value)) {
6703 return IterableMixinWorkaround.skipWhile(this, test); 6703 return IterableMixinWorkaround.skipWhile(this, test);
6704 } 6704 }
6705 6705
6706 Transform firstMatching(bool test(Transform value), { Transform orElse() }) { 6706 Transform firstWhere(bool test(Transform value), { Transform orElse() }) {
6707 return IterableMixinWorkaround.firstMatching(this, test, orElse); 6707 return IterableMixinWorkaround.firstWhere(this, test, orElse);
6708 } 6708 }
6709 6709
6710 Transform lastMatching(bool test(Transform value), {Transform orElse()}) { 6710 Transform lastWhere(bool test(Transform value), {Transform orElse()}) {
6711 return IterableMixinWorkaround.lastMatchingInList(this, test, orElse); 6711 return IterableMixinWorkaround.lastWhereList(this, test, orElse);
6712 } 6712 }
6713 6713
6714 Transform singleMatching(bool test(Transform value)) { 6714 Transform singleWhere(bool test(Transform value)) {
6715 return IterableMixinWorkaround.singleMatching(this, test); 6715 return IterableMixinWorkaround.singleWhere(this, test);
6716 } 6716 }
6717 6717
6718 Transform elementAt(int index) { 6718 Transform elementAt(int index) {
6719 return this[index]; 6719 return this[index];
6720 } 6720 }
6721 6721
6722 // From Collection<Transform>: 6722 // From Collection<Transform>:
6723 6723
6724 void add(Transform value) { 6724 void add(Transform value) {
6725 throw new UnsupportedError("Cannot add to immutable List."); 6725 throw new UnsupportedError("Cannot add to immutable List.");
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
6791 } 6791 }
6792 6792
6793 void removeAll(Iterable elements) { 6793 void removeAll(Iterable elements) {
6794 throw new UnsupportedError("Cannot remove from immutable List."); 6794 throw new UnsupportedError("Cannot remove from immutable List.");
6795 } 6795 }
6796 6796
6797 void retainAll(Iterable elements) { 6797 void retainAll(Iterable elements) {
6798 throw new UnsupportedError("Cannot remove from immutable List."); 6798 throw new UnsupportedError("Cannot remove from immutable List.");
6799 } 6799 }
6800 6800
6801 void removeMatching(bool test(Transform element)) { 6801 void removeWhere(bool test(Transform element)) {
6802 throw new UnsupportedError("Cannot remove from immutable List."); 6802 throw new UnsupportedError("Cannot remove from immutable List.");
6803 } 6803 }
6804 6804
6805 void retainMatching(bool test(Transform element)) { 6805 void retainWhere(bool test(Transform element)) {
6806 throw new UnsupportedError("Cannot remove from immutable List."); 6806 throw new UnsupportedError("Cannot remove from immutable List.");
6807 } 6807 }
6808 6808
6809 void setRange(int start, int rangeLength, List<Transform> from, [int startFrom ]) { 6809 void setRange(int start, int rangeLength, List<Transform> from, [int startFrom ]) {
6810 throw new UnsupportedError("Cannot setRange on immutable List."); 6810 throw new UnsupportedError("Cannot setRange on immutable List.");
6811 } 6811 }
6812 6812
6813 void removeRange(int start, int rangeLength) { 6813 void removeRange(int start, int rangeLength) {
6814 throw new UnsupportedError("Cannot removeRange on immutable List."); 6814 throw new UnsupportedError("Cannot removeRange on immutable List.");
6815 } 6815 }
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
7218 Iterable<ElementInstance> takeWhile(bool test(ElementInstance value)) { 7218 Iterable<ElementInstance> takeWhile(bool test(ElementInstance value)) {
7219 return IterableMixinWorkaround.takeWhile(this, test); 7219 return IterableMixinWorkaround.takeWhile(this, test);
7220 } 7220 }
7221 7221
7222 Iterable<ElementInstance> skip(int n) => IterableMixinWorkaround.skipList(this , n); 7222 Iterable<ElementInstance> skip(int n) => IterableMixinWorkaround.skipList(this , n);
7223 7223
7224 Iterable<ElementInstance> skipWhile(bool test(ElementInstance value)) { 7224 Iterable<ElementInstance> skipWhile(bool test(ElementInstance value)) {
7225 return IterableMixinWorkaround.skipWhile(this, test); 7225 return IterableMixinWorkaround.skipWhile(this, test);
7226 } 7226 }
7227 7227
7228 ElementInstance firstMatching(bool test(ElementInstance value), { ElementInsta nce orElse() }) { 7228 ElementInstance firstWhere(bool test(ElementInstance value), { ElementInstance orElse() }) {
7229 return IterableMixinWorkaround.firstMatching(this, test, orElse); 7229 return IterableMixinWorkaround.firstWhere(this, test, orElse);
7230 } 7230 }
7231 7231
7232 ElementInstance lastMatching(bool test(ElementInstance value), {ElementInstanc e orElse()}) { 7232 ElementInstance lastWhere(bool test(ElementInstance value), {ElementInstance o rElse()}) {
7233 return IterableMixinWorkaround.lastMatchingInList(this, test, orElse); 7233 return IterableMixinWorkaround.lastWhereList(this, test, orElse);
7234 } 7234 }
7235 7235
7236 ElementInstance singleMatching(bool test(ElementInstance value)) { 7236 ElementInstance singleWhere(bool test(ElementInstance value)) {
7237 return IterableMixinWorkaround.singleMatching(this, test); 7237 return IterableMixinWorkaround.singleWhere(this, test);
7238 } 7238 }
7239 7239
7240 ElementInstance elementAt(int index) { 7240 ElementInstance elementAt(int index) {
7241 return this[index]; 7241 return this[index];
7242 } 7242 }
7243 7243
7244 // From Collection<ElementInstance>: 7244 // From Collection<ElementInstance>:
7245 7245
7246 void add(ElementInstance value) { 7246 void add(ElementInstance value) {
7247 throw new UnsupportedError("Cannot add to immutable List."); 7247 throw new UnsupportedError("Cannot add to immutable List.");
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
7315 } 7315 }
7316 7316
7317 void removeAll(Iterable elements) { 7317 void removeAll(Iterable elements) {
7318 throw new UnsupportedError("Cannot remove from immutable List."); 7318 throw new UnsupportedError("Cannot remove from immutable List.");
7319 } 7319 }
7320 7320
7321 void retainAll(Iterable elements) { 7321 void retainAll(Iterable elements) {
7322 throw new UnsupportedError("Cannot remove from immutable List."); 7322 throw new UnsupportedError("Cannot remove from immutable List.");
7323 } 7323 }
7324 7324
7325 void removeMatching(bool test(ElementInstance element)) { 7325 void removeWhere(bool test(ElementInstance element)) {
7326 throw new UnsupportedError("Cannot remove from immutable List."); 7326 throw new UnsupportedError("Cannot remove from immutable List.");
7327 } 7327 }
7328 7328
7329 void retainMatching(bool test(ElementInstance element)) { 7329 void retainWhere(bool test(ElementInstance element)) {
7330 throw new UnsupportedError("Cannot remove from immutable List."); 7330 throw new UnsupportedError("Cannot remove from immutable List.");
7331 } 7331 }
7332 7332
7333 void setRange(int start, int rangeLength, List<ElementInstance> from, [int sta rtFrom]) { 7333 void setRange(int start, int rangeLength, List<ElementInstance> from, [int sta rtFrom]) {
7334 throw new UnsupportedError("Cannot setRange on immutable List."); 7334 throw new UnsupportedError("Cannot setRange on immutable List.");
7335 } 7335 }
7336 7336
7337 void removeRange(int start, int rangeLength) { 7337 void removeRange(int start, int rangeLength) {
7338 throw new UnsupportedError("Cannot removeRange on immutable List."); 7338 throw new UnsupportedError("Cannot removeRange on immutable List.");
7339 } 7339 }
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
7759 7759
7760 7760
7761 @DocsEditable 7761 @DocsEditable
7762 @DomName('SVGVKernElement') 7762 @DomName('SVGVKernElement')
7763 class _SVGVKernElement extends SvgElement native "*SVGVKernElement" { 7763 class _SVGVKernElement extends SvgElement native "*SVGVKernElement" {
7764 7764
7765 @DomName('SVGVKernElement.SVGVKernElement') 7765 @DomName('SVGVKernElement.SVGVKernElement')
7766 @DocsEditable 7766 @DocsEditable
7767 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 7767 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
7768 } 7768 }
OLDNEW
« no previous file with comments | « sdk/lib/html/html_common/filtered_element_list.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698