| OLD | NEW |
| 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:nativewrappers'; | 7 import 'dart:nativewrappers'; |
| 8 // DO NOT EDIT | 8 // DO NOT EDIT |
| 9 // Auto-generated dart:svg library. | 9 // Auto-generated dart:svg library. |
| 10 | 10 |
| (...skipping 3390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3401 Length get single { | 3401 Length get single { |
| 3402 if (length == 1) return this[0]; | 3402 if (length == 1) return this[0]; |
| 3403 if (length == 0) throw new StateError("No elements"); | 3403 if (length == 0) throw new StateError("No elements"); |
| 3404 throw new StateError("More than one element"); | 3404 throw new StateError("More than one element"); |
| 3405 } | 3405 } |
| 3406 | 3406 |
| 3407 void insert(int index, Length element) { | 3407 void insert(int index, Length element) { |
| 3408 throw new UnsupportedError("Cannot add to immutable List."); | 3408 throw new UnsupportedError("Cannot add to immutable List."); |
| 3409 } | 3409 } |
| 3410 | 3410 |
| 3411 void insertAll(int index, Iterable<Length> iterable) { |
| 3412 throw new UnsupportedError("Cannot add to immutable List."); |
| 3413 } |
| 3414 |
| 3415 void setAll(int index, Iterable<Length> iterable) { |
| 3416 throw new UnsupportedError("Cannot modify an immutable List."); |
| 3417 } |
| 3418 |
| 3411 Length removeAt(int pos) { | 3419 Length removeAt(int pos) { |
| 3412 throw new UnsupportedError("Cannot remove from immutable List."); | 3420 throw new UnsupportedError("Cannot remove from immutable List."); |
| 3413 } | 3421 } |
| 3414 | 3422 |
| 3415 Length removeLast() { | 3423 Length removeLast() { |
| 3416 throw new UnsupportedError("Cannot remove from immutable List."); | 3424 throw new UnsupportedError("Cannot remove from immutable List."); |
| 3417 } | 3425 } |
| 3418 | 3426 |
| 3419 void remove(Object object) { | 3427 void remove(Object object) { |
| 3420 throw new UnsupportedError("Cannot remove from immutable List."); | 3428 throw new UnsupportedError("Cannot remove from immutable List."); |
| 3421 } | 3429 } |
| 3422 | 3430 |
| 3423 void removeWhere(bool test(Length element)) { | 3431 void removeWhere(bool test(Length element)) { |
| 3424 throw new UnsupportedError("Cannot remove from immutable List."); | 3432 throw new UnsupportedError("Cannot remove from immutable List."); |
| 3425 } | 3433 } |
| 3426 | 3434 |
| 3427 void retainWhere(bool test(Length element)) { | 3435 void retainWhere(bool test(Length element)) { |
| 3428 throw new UnsupportedError("Cannot remove from immutable List."); | 3436 throw new UnsupportedError("Cannot remove from immutable List."); |
| 3429 } | 3437 } |
| 3430 | 3438 |
| 3431 void setRange(int start, int end, Iterable<Length> iterable, [int skipCount])
{ | 3439 void setRange(int start, int end, Iterable<Length> iterable, [int skipCount])
{ |
| 3432 throw new UnsupportedError("Cannot setRange on immutable List."); | 3440 throw new UnsupportedError("Cannot setRange on immutable List."); |
| 3433 } | 3441 } |
| 3434 | 3442 |
| 3435 void removeRange(int start, int end) { | 3443 void removeRange(int start, int end) { |
| 3436 throw new UnsupportedError("Cannot removeRange on immutable List."); | 3444 throw new UnsupportedError("Cannot removeRange on immutable List."); |
| 3437 } | 3445 } |
| 3438 | 3446 |
| 3447 void replaceRange(int start, int end, Iterable<Length> iterable) { |
| 3448 throw new UnsupportedError("Cannot modify an immutable List."); |
| 3449 } |
| 3450 |
| 3451 void fillRange(int start, int end, [Length fillValue]) { |
| 3452 throw new UnsupportedError("Cannot modify an immutable List."); |
| 3453 } |
| 3454 |
| 3439 Iterable<Length> getRange(int start, int end) => | 3455 Iterable<Length> getRange(int start, int end) => |
| 3440 IterableMixinWorkaround.getRangeList(this, start, end); | 3456 IterableMixinWorkaround.getRangeList(this, start, end); |
| 3441 | 3457 |
| 3442 List<Length> sublist(int start, [int end]) { | 3458 List<Length> sublist(int start, [int end]) { |
| 3443 if (end == null) end = length; | 3459 if (end == null) end = length; |
| 3444 return Lists.getRange(this, start, end, <Length>[]); | 3460 return Lists.getRange(this, start, end, <Length>[]); |
| 3445 } | 3461 } |
| 3446 | 3462 |
| 3447 Map<int, Length> asMap() => | 3463 Map<int, Length> asMap() => |
| 3448 IterableMixinWorkaround.asMapList(this); | 3464 IterableMixinWorkaround.asMapList(this); |
| (...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4106 Number get single { | 4122 Number get single { |
| 4107 if (length == 1) return this[0]; | 4123 if (length == 1) return this[0]; |
| 4108 if (length == 0) throw new StateError("No elements"); | 4124 if (length == 0) throw new StateError("No elements"); |
| 4109 throw new StateError("More than one element"); | 4125 throw new StateError("More than one element"); |
| 4110 } | 4126 } |
| 4111 | 4127 |
| 4112 void insert(int index, Number element) { | 4128 void insert(int index, Number element) { |
| 4113 throw new UnsupportedError("Cannot add to immutable List."); | 4129 throw new UnsupportedError("Cannot add to immutable List."); |
| 4114 } | 4130 } |
| 4115 | 4131 |
| 4132 void insertAll(int index, Iterable<Number> iterable) { |
| 4133 throw new UnsupportedError("Cannot add to immutable List."); |
| 4134 } |
| 4135 |
| 4136 void setAll(int index, Iterable<Number> iterable) { |
| 4137 throw new UnsupportedError("Cannot modify an immutable List."); |
| 4138 } |
| 4139 |
| 4116 Number removeAt(int pos) { | 4140 Number removeAt(int pos) { |
| 4117 throw new UnsupportedError("Cannot remove from immutable List."); | 4141 throw new UnsupportedError("Cannot remove from immutable List."); |
| 4118 } | 4142 } |
| 4119 | 4143 |
| 4120 Number removeLast() { | 4144 Number removeLast() { |
| 4121 throw new UnsupportedError("Cannot remove from immutable List."); | 4145 throw new UnsupportedError("Cannot remove from immutable List."); |
| 4122 } | 4146 } |
| 4123 | 4147 |
| 4124 void remove(Object object) { | 4148 void remove(Object object) { |
| 4125 throw new UnsupportedError("Cannot remove from immutable List."); | 4149 throw new UnsupportedError("Cannot remove from immutable List."); |
| 4126 } | 4150 } |
| 4127 | 4151 |
| 4128 void removeWhere(bool test(Number element)) { | 4152 void removeWhere(bool test(Number element)) { |
| 4129 throw new UnsupportedError("Cannot remove from immutable List."); | 4153 throw new UnsupportedError("Cannot remove from immutable List."); |
| 4130 } | 4154 } |
| 4131 | 4155 |
| 4132 void retainWhere(bool test(Number element)) { | 4156 void retainWhere(bool test(Number element)) { |
| 4133 throw new UnsupportedError("Cannot remove from immutable List."); | 4157 throw new UnsupportedError("Cannot remove from immutable List."); |
| 4134 } | 4158 } |
| 4135 | 4159 |
| 4136 void setRange(int start, int end, Iterable<Number> iterable, [int skipCount])
{ | 4160 void setRange(int start, int end, Iterable<Number> iterable, [int skipCount])
{ |
| 4137 throw new UnsupportedError("Cannot setRange on immutable List."); | 4161 throw new UnsupportedError("Cannot setRange on immutable List."); |
| 4138 } | 4162 } |
| 4139 | 4163 |
| 4140 void removeRange(int start, int end) { | 4164 void removeRange(int start, int end) { |
| 4141 throw new UnsupportedError("Cannot removeRange on immutable List."); | 4165 throw new UnsupportedError("Cannot removeRange on immutable List."); |
| 4142 } | 4166 } |
| 4143 | 4167 |
| 4168 void replaceRange(int start, int end, Iterable<Number> iterable) { |
| 4169 throw new UnsupportedError("Cannot modify an immutable List."); |
| 4170 } |
| 4171 |
| 4172 void fillRange(int start, int end, [Number fillValue]) { |
| 4173 throw new UnsupportedError("Cannot modify an immutable List."); |
| 4174 } |
| 4175 |
| 4144 Iterable<Number> getRange(int start, int end) => | 4176 Iterable<Number> getRange(int start, int end) => |
| 4145 IterableMixinWorkaround.getRangeList(this, start, end); | 4177 IterableMixinWorkaround.getRangeList(this, start, end); |
| 4146 | 4178 |
| 4147 List<Number> sublist(int start, [int end]) { | 4179 List<Number> sublist(int start, [int end]) { |
| 4148 if (end == null) end = length; | 4180 if (end == null) end = length; |
| 4149 return Lists.getRange(this, start, end, <Number>[]); | 4181 return Lists.getRange(this, start, end, <Number>[]); |
| 4150 } | 4182 } |
| 4151 | 4183 |
| 4152 Map<int, Number> asMap() => | 4184 Map<int, Number> asMap() => |
| 4153 IterableMixinWorkaround.asMapList(this); | 4185 IterableMixinWorkaround.asMapList(this); |
| (...skipping 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5238 PathSeg get single { | 5270 PathSeg get single { |
| 5239 if (length == 1) return this[0]; | 5271 if (length == 1) return this[0]; |
| 5240 if (length == 0) throw new StateError("No elements"); | 5272 if (length == 0) throw new StateError("No elements"); |
| 5241 throw new StateError("More than one element"); | 5273 throw new StateError("More than one element"); |
| 5242 } | 5274 } |
| 5243 | 5275 |
| 5244 void insert(int index, PathSeg element) { | 5276 void insert(int index, PathSeg element) { |
| 5245 throw new UnsupportedError("Cannot add to immutable List."); | 5277 throw new UnsupportedError("Cannot add to immutable List."); |
| 5246 } | 5278 } |
| 5247 | 5279 |
| 5280 void insertAll(int index, Iterable<PathSeg> iterable) { |
| 5281 throw new UnsupportedError("Cannot add to immutable List."); |
| 5282 } |
| 5283 |
| 5284 void setAll(int index, Iterable<PathSeg> iterable) { |
| 5285 throw new UnsupportedError("Cannot modify an immutable List."); |
| 5286 } |
| 5287 |
| 5248 PathSeg removeAt(int pos) { | 5288 PathSeg removeAt(int pos) { |
| 5249 throw new UnsupportedError("Cannot remove from immutable List."); | 5289 throw new UnsupportedError("Cannot remove from immutable List."); |
| 5250 } | 5290 } |
| 5251 | 5291 |
| 5252 PathSeg removeLast() { | 5292 PathSeg removeLast() { |
| 5253 throw new UnsupportedError("Cannot remove from immutable List."); | 5293 throw new UnsupportedError("Cannot remove from immutable List."); |
| 5254 } | 5294 } |
| 5255 | 5295 |
| 5256 void remove(Object object) { | 5296 void remove(Object object) { |
| 5257 throw new UnsupportedError("Cannot remove from immutable List."); | 5297 throw new UnsupportedError("Cannot remove from immutable List."); |
| 5258 } | 5298 } |
| 5259 | 5299 |
| 5260 void removeWhere(bool test(PathSeg element)) { | 5300 void removeWhere(bool test(PathSeg element)) { |
| 5261 throw new UnsupportedError("Cannot remove from immutable List."); | 5301 throw new UnsupportedError("Cannot remove from immutable List."); |
| 5262 } | 5302 } |
| 5263 | 5303 |
| 5264 void retainWhere(bool test(PathSeg element)) { | 5304 void retainWhere(bool test(PathSeg element)) { |
| 5265 throw new UnsupportedError("Cannot remove from immutable List."); | 5305 throw new UnsupportedError("Cannot remove from immutable List."); |
| 5266 } | 5306 } |
| 5267 | 5307 |
| 5268 void setRange(int start, int end, Iterable<PathSeg> iterable, [int skipCount])
{ | 5308 void setRange(int start, int end, Iterable<PathSeg> iterable, [int skipCount])
{ |
| 5269 throw new UnsupportedError("Cannot setRange on immutable List."); | 5309 throw new UnsupportedError("Cannot setRange on immutable List."); |
| 5270 } | 5310 } |
| 5271 | 5311 |
| 5272 void removeRange(int start, int end) { | 5312 void removeRange(int start, int end) { |
| 5273 throw new UnsupportedError("Cannot removeRange on immutable List."); | 5313 throw new UnsupportedError("Cannot removeRange on immutable List."); |
| 5274 } | 5314 } |
| 5275 | 5315 |
| 5316 void replaceRange(int start, int end, Iterable<PathSeg> iterable) { |
| 5317 throw new UnsupportedError("Cannot modify an immutable List."); |
| 5318 } |
| 5319 |
| 5320 void fillRange(int start, int end, [PathSeg fillValue]) { |
| 5321 throw new UnsupportedError("Cannot modify an immutable List."); |
| 5322 } |
| 5323 |
| 5276 Iterable<PathSeg> getRange(int start, int end) => | 5324 Iterable<PathSeg> getRange(int start, int end) => |
| 5277 IterableMixinWorkaround.getRangeList(this, start, end); | 5325 IterableMixinWorkaround.getRangeList(this, start, end); |
| 5278 | 5326 |
| 5279 List<PathSeg> sublist(int start, [int end]) { | 5327 List<PathSeg> sublist(int start, [int end]) { |
| 5280 if (end == null) end = length; | 5328 if (end == null) end = length; |
| 5281 return Lists.getRange(this, start, end, <PathSeg>[]); | 5329 return Lists.getRange(this, start, end, <PathSeg>[]); |
| 5282 } | 5330 } |
| 5283 | 5331 |
| 5284 Map<int, PathSeg> asMap() => | 5332 Map<int, PathSeg> asMap() => |
| 5285 IterableMixinWorkaround.asMapList(this); | 5333 IterableMixinWorkaround.asMapList(this); |
| (...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6224 String get single { | 6272 String get single { |
| 6225 if (length == 1) return this[0]; | 6273 if (length == 1) return this[0]; |
| 6226 if (length == 0) throw new StateError("No elements"); | 6274 if (length == 0) throw new StateError("No elements"); |
| 6227 throw new StateError("More than one element"); | 6275 throw new StateError("More than one element"); |
| 6228 } | 6276 } |
| 6229 | 6277 |
| 6230 void insert(int index, String element) { | 6278 void insert(int index, String element) { |
| 6231 throw new UnsupportedError("Cannot add to immutable List."); | 6279 throw new UnsupportedError("Cannot add to immutable List."); |
| 6232 } | 6280 } |
| 6233 | 6281 |
| 6282 void insertAll(int index, Iterable<String> iterable) { |
| 6283 throw new UnsupportedError("Cannot add to immutable List."); |
| 6284 } |
| 6285 |
| 6286 void setAll(int index, Iterable<String> iterable) { |
| 6287 throw new UnsupportedError("Cannot modify an immutable List."); |
| 6288 } |
| 6289 |
| 6234 String removeAt(int pos) { | 6290 String removeAt(int pos) { |
| 6235 throw new UnsupportedError("Cannot remove from immutable List."); | 6291 throw new UnsupportedError("Cannot remove from immutable List."); |
| 6236 } | 6292 } |
| 6237 | 6293 |
| 6238 String removeLast() { | 6294 String removeLast() { |
| 6239 throw new UnsupportedError("Cannot remove from immutable List."); | 6295 throw new UnsupportedError("Cannot remove from immutable List."); |
| 6240 } | 6296 } |
| 6241 | 6297 |
| 6242 void remove(Object object) { | 6298 void remove(Object object) { |
| 6243 throw new UnsupportedError("Cannot remove from immutable List."); | 6299 throw new UnsupportedError("Cannot remove from immutable List."); |
| 6244 } | 6300 } |
| 6245 | 6301 |
| 6246 void removeWhere(bool test(String element)) { | 6302 void removeWhere(bool test(String element)) { |
| 6247 throw new UnsupportedError("Cannot remove from immutable List."); | 6303 throw new UnsupportedError("Cannot remove from immutable List."); |
| 6248 } | 6304 } |
| 6249 | 6305 |
| 6250 void retainWhere(bool test(String element)) { | 6306 void retainWhere(bool test(String element)) { |
| 6251 throw new UnsupportedError("Cannot remove from immutable List."); | 6307 throw new UnsupportedError("Cannot remove from immutable List."); |
| 6252 } | 6308 } |
| 6253 | 6309 |
| 6254 void setRange(int start, int end, Iterable<String> iterable, [int skipCount])
{ | 6310 void setRange(int start, int end, Iterable<String> iterable, [int skipCount])
{ |
| 6255 throw new UnsupportedError("Cannot setRange on immutable List."); | 6311 throw new UnsupportedError("Cannot setRange on immutable List."); |
| 6256 } | 6312 } |
| 6257 | 6313 |
| 6258 void removeRange(int start, int end) { | 6314 void removeRange(int start, int end) { |
| 6259 throw new UnsupportedError("Cannot removeRange on immutable List."); | 6315 throw new UnsupportedError("Cannot removeRange on immutable List."); |
| 6260 } | 6316 } |
| 6261 | 6317 |
| 6318 void replaceRange(int start, int end, Iterable<String> iterable) { |
| 6319 throw new UnsupportedError("Cannot modify an immutable List."); |
| 6320 } |
| 6321 |
| 6322 void fillRange(int start, int end, [String fillValue]) { |
| 6323 throw new UnsupportedError("Cannot modify an immutable List."); |
| 6324 } |
| 6325 |
| 6262 Iterable<String> getRange(int start, int end) => | 6326 Iterable<String> getRange(int start, int end) => |
| 6263 IterableMixinWorkaround.getRangeList(this, start, end); | 6327 IterableMixinWorkaround.getRangeList(this, start, end); |
| 6264 | 6328 |
| 6265 List<String> sublist(int start, [int end]) { | 6329 List<String> sublist(int start, [int end]) { |
| 6266 if (end == null) end = length; | 6330 if (end == null) end = length; |
| 6267 return Lists.getRange(this, start, end, <String>[]); | 6331 return Lists.getRange(this, start, end, <String>[]); |
| 6268 } | 6332 } |
| 6269 | 6333 |
| 6270 Map<int, String> asMap() => | 6334 Map<int, String> asMap() => |
| 6271 IterableMixinWorkaround.asMapList(this); | 6335 IterableMixinWorkaround.asMapList(this); |
| (...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7475 Transform get single { | 7539 Transform get single { |
| 7476 if (length == 1) return this[0]; | 7540 if (length == 1) return this[0]; |
| 7477 if (length == 0) throw new StateError("No elements"); | 7541 if (length == 0) throw new StateError("No elements"); |
| 7478 throw new StateError("More than one element"); | 7542 throw new StateError("More than one element"); |
| 7479 } | 7543 } |
| 7480 | 7544 |
| 7481 void insert(int index, Transform element) { | 7545 void insert(int index, Transform element) { |
| 7482 throw new UnsupportedError("Cannot add to immutable List."); | 7546 throw new UnsupportedError("Cannot add to immutable List."); |
| 7483 } | 7547 } |
| 7484 | 7548 |
| 7549 void insertAll(int index, Iterable<Transform> iterable) { |
| 7550 throw new UnsupportedError("Cannot add to immutable List."); |
| 7551 } |
| 7552 |
| 7553 void setAll(int index, Iterable<Transform> iterable) { |
| 7554 throw new UnsupportedError("Cannot modify an immutable List."); |
| 7555 } |
| 7556 |
| 7485 Transform removeAt(int pos) { | 7557 Transform removeAt(int pos) { |
| 7486 throw new UnsupportedError("Cannot remove from immutable List."); | 7558 throw new UnsupportedError("Cannot remove from immutable List."); |
| 7487 } | 7559 } |
| 7488 | 7560 |
| 7489 Transform removeLast() { | 7561 Transform removeLast() { |
| 7490 throw new UnsupportedError("Cannot remove from immutable List."); | 7562 throw new UnsupportedError("Cannot remove from immutable List."); |
| 7491 } | 7563 } |
| 7492 | 7564 |
| 7493 void remove(Object object) { | 7565 void remove(Object object) { |
| 7494 throw new UnsupportedError("Cannot remove from immutable List."); | 7566 throw new UnsupportedError("Cannot remove from immutable List."); |
| 7495 } | 7567 } |
| 7496 | 7568 |
| 7497 void removeWhere(bool test(Transform element)) { | 7569 void removeWhere(bool test(Transform element)) { |
| 7498 throw new UnsupportedError("Cannot remove from immutable List."); | 7570 throw new UnsupportedError("Cannot remove from immutable List."); |
| 7499 } | 7571 } |
| 7500 | 7572 |
| 7501 void retainWhere(bool test(Transform element)) { | 7573 void retainWhere(bool test(Transform element)) { |
| 7502 throw new UnsupportedError("Cannot remove from immutable List."); | 7574 throw new UnsupportedError("Cannot remove from immutable List."); |
| 7503 } | 7575 } |
| 7504 | 7576 |
| 7505 void setRange(int start, int end, Iterable<Transform> iterable, [int skipCount
]) { | 7577 void setRange(int start, int end, Iterable<Transform> iterable, [int skipCount
]) { |
| 7506 throw new UnsupportedError("Cannot setRange on immutable List."); | 7578 throw new UnsupportedError("Cannot setRange on immutable List."); |
| 7507 } | 7579 } |
| 7508 | 7580 |
| 7509 void removeRange(int start, int end) { | 7581 void removeRange(int start, int end) { |
| 7510 throw new UnsupportedError("Cannot removeRange on immutable List."); | 7582 throw new UnsupportedError("Cannot removeRange on immutable List."); |
| 7511 } | 7583 } |
| 7512 | 7584 |
| 7585 void replaceRange(int start, int end, Iterable<Transform> iterable) { |
| 7586 throw new UnsupportedError("Cannot modify an immutable List."); |
| 7587 } |
| 7588 |
| 7589 void fillRange(int start, int end, [Transform fillValue]) { |
| 7590 throw new UnsupportedError("Cannot modify an immutable List."); |
| 7591 } |
| 7592 |
| 7513 Iterable<Transform> getRange(int start, int end) => | 7593 Iterable<Transform> getRange(int start, int end) => |
| 7514 IterableMixinWorkaround.getRangeList(this, start, end); | 7594 IterableMixinWorkaround.getRangeList(this, start, end); |
| 7515 | 7595 |
| 7516 List<Transform> sublist(int start, [int end]) { | 7596 List<Transform> sublist(int start, [int end]) { |
| 7517 if (end == null) end = length; | 7597 if (end == null) end = length; |
| 7518 return Lists.getRange(this, start, end, <Transform>[]); | 7598 return Lists.getRange(this, start, end, <Transform>[]); |
| 7519 } | 7599 } |
| 7520 | 7600 |
| 7521 Map<int, Transform> asMap() => | 7601 Map<int, Transform> asMap() => |
| 7522 IterableMixinWorkaround.asMapList(this); | 7602 IterableMixinWorkaround.asMapList(this); |
| (...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8052 ElementInstance get single { | 8132 ElementInstance get single { |
| 8053 if (length == 1) return this[0]; | 8133 if (length == 1) return this[0]; |
| 8054 if (length == 0) throw new StateError("No elements"); | 8134 if (length == 0) throw new StateError("No elements"); |
| 8055 throw new StateError("More than one element"); | 8135 throw new StateError("More than one element"); |
| 8056 } | 8136 } |
| 8057 | 8137 |
| 8058 void insert(int index, ElementInstance element) { | 8138 void insert(int index, ElementInstance element) { |
| 8059 throw new UnsupportedError("Cannot add to immutable List."); | 8139 throw new UnsupportedError("Cannot add to immutable List."); |
| 8060 } | 8140 } |
| 8061 | 8141 |
| 8142 void insertAll(int index, Iterable<ElementInstance> iterable) { |
| 8143 throw new UnsupportedError("Cannot add to immutable List."); |
| 8144 } |
| 8145 |
| 8146 void setAll(int index, Iterable<ElementInstance> iterable) { |
| 8147 throw new UnsupportedError("Cannot modify an immutable List."); |
| 8148 } |
| 8149 |
| 8062 ElementInstance removeAt(int pos) { | 8150 ElementInstance removeAt(int pos) { |
| 8063 throw new UnsupportedError("Cannot remove from immutable List."); | 8151 throw new UnsupportedError("Cannot remove from immutable List."); |
| 8064 } | 8152 } |
| 8065 | 8153 |
| 8066 ElementInstance removeLast() { | 8154 ElementInstance removeLast() { |
| 8067 throw new UnsupportedError("Cannot remove from immutable List."); | 8155 throw new UnsupportedError("Cannot remove from immutable List."); |
| 8068 } | 8156 } |
| 8069 | 8157 |
| 8070 void remove(Object object) { | 8158 void remove(Object object) { |
| 8071 throw new UnsupportedError("Cannot remove from immutable List."); | 8159 throw new UnsupportedError("Cannot remove from immutable List."); |
| 8072 } | 8160 } |
| 8073 | 8161 |
| 8074 void removeWhere(bool test(ElementInstance element)) { | 8162 void removeWhere(bool test(ElementInstance element)) { |
| 8075 throw new UnsupportedError("Cannot remove from immutable List."); | 8163 throw new UnsupportedError("Cannot remove from immutable List."); |
| 8076 } | 8164 } |
| 8077 | 8165 |
| 8078 void retainWhere(bool test(ElementInstance element)) { | 8166 void retainWhere(bool test(ElementInstance element)) { |
| 8079 throw new UnsupportedError("Cannot remove from immutable List."); | 8167 throw new UnsupportedError("Cannot remove from immutable List."); |
| 8080 } | 8168 } |
| 8081 | 8169 |
| 8082 void setRange(int start, int end, Iterable<ElementInstance> iterable, [int ski
pCount]) { | 8170 void setRange(int start, int end, Iterable<ElementInstance> iterable, [int ski
pCount]) { |
| 8083 throw new UnsupportedError("Cannot setRange on immutable List."); | 8171 throw new UnsupportedError("Cannot setRange on immutable List."); |
| 8084 } | 8172 } |
| 8085 | 8173 |
| 8086 void removeRange(int start, int end) { | 8174 void removeRange(int start, int end) { |
| 8087 throw new UnsupportedError("Cannot removeRange on immutable List."); | 8175 throw new UnsupportedError("Cannot removeRange on immutable List."); |
| 8088 } | 8176 } |
| 8089 | 8177 |
| 8178 void replaceRange(int start, int end, Iterable<ElementInstance> iterable) { |
| 8179 throw new UnsupportedError("Cannot modify an immutable List."); |
| 8180 } |
| 8181 |
| 8182 void fillRange(int start, int end, [ElementInstance fillValue]) { |
| 8183 throw new UnsupportedError("Cannot modify an immutable List."); |
| 8184 } |
| 8185 |
| 8090 Iterable<ElementInstance> getRange(int start, int end) => | 8186 Iterable<ElementInstance> getRange(int start, int end) => |
| 8091 IterableMixinWorkaround.getRangeList(this, start, end); | 8187 IterableMixinWorkaround.getRangeList(this, start, end); |
| 8092 | 8188 |
| 8093 List<ElementInstance> sublist(int start, [int end]) { | 8189 List<ElementInstance> sublist(int start, [int end]) { |
| 8094 if (end == null) end = length; | 8190 if (end == null) end = length; |
| 8095 return Lists.getRange(this, start, end, <ElementInstance>[]); | 8191 return Lists.getRange(this, start, end, <ElementInstance>[]); |
| 8096 } | 8192 } |
| 8097 | 8193 |
| 8098 Map<int, ElementInstance> asMap() => | 8194 Map<int, ElementInstance> asMap() => |
| 8099 IterableMixinWorkaround.asMapList(this); | 8195 IterableMixinWorkaround.asMapList(this); |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8445 @DocsEditable | 8541 @DocsEditable |
| 8446 @DomName('SVGVKernElement') | 8542 @DomName('SVGVKernElement') |
| 8447 abstract class _SVGVKernElement extends SvgElement { | 8543 abstract class _SVGVKernElement extends SvgElement { |
| 8448 _SVGVKernElement.internal() : super.internal(); | 8544 _SVGVKernElement.internal() : super.internal(); |
| 8449 | 8545 |
| 8450 @DomName('SVGVKernElement.SVGVKernElement') | 8546 @DomName('SVGVKernElement.SVGVKernElement') |
| 8451 @DocsEditable | 8547 @DocsEditable |
| 8452 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 8548 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
| 8453 | 8549 |
| 8454 } | 8550 } |
| OLD | NEW |