| OLD | NEW |
| 1 var _internal = dart.defineLibrary(_internal, {}); | 1 var _internal = dart.defineLibrary(_internal, {}); |
| 2 var core = dart.import(core); | 2 var core = dart.import(core); |
| 3 var collection = dart.import(collection); | 3 var collection = dart.import(collection); |
| 4 var math = dart.lazyImport(math); | 4 var math = dart.lazyImport(math); |
| 5 var _interceptors = dart.lazyImport(_interceptors); | 5 var _interceptors = dart.lazyImport(_interceptors); |
| 6 var _js_primitives = dart.lazyImport(_js_primitives); | 6 var _js_primitives = dart.lazyImport(_js_primitives); |
| 7 (function(exports, core, collection, math, _interceptors, _js_primitives) { | 7 (function(exports, core, collection, math, _interceptors, _js_primitives) { |
| 8 'use strict'; | 8 'use strict'; |
| 9 class EfficientLength extends core.Object {} | 9 class EfficientLength extends core.Object {} |
| 10 dart.setSignature(EfficientLength, {}); | 10 dart.setSignature(EfficientLength, {}); |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 let result = new (core.Set$(E))(); | 234 let result = new (core.Set$(E))(); |
| 235 for (let i = 0; dart.notNull(i) < dart.notNull(this[core.$length]); i =
dart.notNull(i) + 1) { | 235 for (let i = 0; dart.notNull(i) < dart.notNull(this[core.$length]); i =
dart.notNull(i) + 1) { |
| 236 result.add(this[core.$elementAt](i)); | 236 result.add(this[core.$elementAt](i)); |
| 237 } | 237 } |
| 238 return result; | 238 return result; |
| 239 } | 239 } |
| 240 } | 240 } |
| 241 ListIterable[dart.implements] = () => [EfficientLength]; | 241 ListIterable[dart.implements] = () => [EfficientLength]; |
| 242 dart.setSignature(ListIterable, { | 242 dart.setSignature(ListIterable, { |
| 243 methods: () => ({ | 243 methods: () => ({ |
| 244 [core.$forEach]: dart.functionType(dart.void, [dart.functionType(dart.vo
id, [E])]), | 244 [core.$forEach]: [dart.void, [dart.functionType(dart.void, [E])]], |
| 245 [core.$contains]: dart.functionType(core.bool, [core.Object]), | 245 [core.$contains]: [core.bool, [core.Object]], |
| 246 [core.$every]: dart.functionType(core.bool, [dart.functionType(core.bool
, [E])]), | 246 [core.$every]: [core.bool, [dart.functionType(core.bool, [E])]], |
| 247 [core.$any]: dart.functionType(core.bool, [dart.functionType(core.bool,
[E])]), | 247 [core.$any]: [core.bool, [dart.functionType(core.bool, [E])]], |
| 248 [core.$firstWhere]: dart.functionType(E, [dart.functionType(core.bool, [
E])], {rEls: dart.functionType(E, [])}), | 248 [core.$firstWhere]: [E, [dart.functionType(core.bool, [E])], {rEls: dart
.functionType(E, [])}], |
| 249 [core.$lastWhere]: dart.functionType(E, [dart.functionType(core.bool, [E
])], {rEls: dart.functionType(E, [])}), | 249 [core.$lastWhere]: [E, [dart.functionType(core.bool, [E])], {rEls: dart.
functionType(E, [])}], |
| 250 [core.$singleWhere]: dart.functionType(E, [dart.functionType(core.bool,
[E])]), | 250 [core.$singleWhere]: [E, [dart.functionType(core.bool, [E])]], |
| 251 [core.$join]: dart.functionType(core.String, [], [core.String]), | 251 [core.$join]: [core.String, [], [core.String]], |
| 252 [core.$where]: dart.functionType(core.Iterable$(E), [dart.functionType(c
ore.bool, [E])]), | 252 [core.$where]: [core.Iterable$(E), [dart.functionType(core.bool, [E])]], |
| 253 [core.$map]: dart.functionType(core.Iterable, [dart.functionType(dart.dy
namic, [E])]), | 253 [core.$map]: [core.Iterable, [dart.functionType(dart.dynamic, [E])]], |
| 254 [core.$reduce]: dart.functionType(E, [dart.functionType(E, [dart.dynamic
, E])]), | 254 [core.$reduce]: [E, [dart.functionType(E, [dart.dynamic, E])]], |
| 255 [core.$fold]: dart.functionType(dart.dynamic, [dart.dynamic, dart.functi
onType(dart.dynamic, [dart.dynamic, E])]), | 255 [core.$fold]: [dart.dynamic, [dart.dynamic, dart.functionType(dart.dynam
ic, [dart.dynamic, E])]], |
| 256 [core.$skip]: dart.functionType(core.Iterable$(E), [core.int]), | 256 [core.$skip]: [core.Iterable$(E), [core.int]], |
| 257 [core.$skipWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy
pe(core.bool, [E])]), | 257 [core.$skipWhile]: [core.Iterable$(E), [dart.functionType(core.bool, [E]
)]], |
| 258 [core.$take]: dart.functionType(core.Iterable$(E), [core.int]), | 258 [core.$take]: [core.Iterable$(E), [core.int]], |
| 259 [core.$takeWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy
pe(core.bool, [E])]), | 259 [core.$takeWhile]: [core.Iterable$(E), [dart.functionType(core.bool, [E]
)]], |
| 260 [core.$toList]: dart.functionType(core.List$(E), [], {rowabl: core.bool}
), | 260 [core.$toList]: [core.List$(E), [], {rowabl: core.bool}], |
| 261 [core.$toSet]: dart.functionType(core.Set$(E), []) | 261 [core.$toSet]: [core.Set$(E), []] |
| 262 }) | 262 }) |
| 263 }); | 263 }); |
| 264 return ListIterable; | 264 return ListIterable; |
| 265 }); | 265 }); |
| 266 let ListIterable = ListIterable$(); | 266 let ListIterable = ListIterable$(); |
| 267 let _iterable = dart.JsSymbol('_iterable'); | 267 let _iterable = dart.JsSymbol('_iterable'); |
| 268 let _start = dart.JsSymbol('_start'); | 268 let _start = dart.JsSymbol('_start'); |
| 269 let _endOrLength = dart.JsSymbol('_endOrLength'); | 269 let _endOrLength = dart.JsSymbol('_endOrLength'); |
| 270 let _endIndex = dart.JsSymbol('_endIndex'); | 270 let _endIndex = dart.JsSymbol('_endIndex'); |
| 271 let _startIndex = dart.JsSymbol('_startIndex'); | 271 let _startIndex = dart.JsSymbol('_startIndex'); |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull
(i) + 1) { | 348 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull
(i) + 1) { |
| 349 result[core.$set](i, this[_iterable][core.$elementAt](dart.notNull(sta
rt) + dart.notNull(i))); | 349 result[core.$set](i, this[_iterable][core.$elementAt](dart.notNull(sta
rt) + dart.notNull(i))); |
| 350 if (dart.notNull(this[_iterable][core.$length]) < dart.notNull(end)) | 350 if (dart.notNull(this[_iterable][core.$length]) < dart.notNull(end)) |
| 351 throw new core.ConcurrentModificationError(this); | 351 throw new core.ConcurrentModificationError(this); |
| 352 } | 352 } |
| 353 return dart.as(result, core.List$(E)); | 353 return dart.as(result, core.List$(E)); |
| 354 } | 354 } |
| 355 } | 355 } |
| 356 dart.setSignature(SubListIterable, { | 356 dart.setSignature(SubListIterable, { |
| 357 methods: () => ({ | 357 methods: () => ({ |
| 358 [core.$elementAt]: dart.functionType(E, [core.int]), | 358 [core.$elementAt]: [E, [core.int]], |
| 359 [core.$skip]: dart.functionType(core.Iterable$(E), [core.int]), | 359 [core.$skip]: [core.Iterable$(E), [core.int]], |
| 360 [core.$take]: dart.functionType(core.Iterable$(E), [core.int]), | 360 [core.$take]: [core.Iterable$(E), [core.int]], |
| 361 [core.$toList]: dart.functionType(core.List$(E), [], {rowabl: core.bool}
) | 361 [core.$toList]: [core.List$(E), [], {rowabl: core.bool}] |
| 362 }) | 362 }) |
| 363 }); | 363 }); |
| 364 return SubListIterable; | 364 return SubListIterable; |
| 365 }); | 365 }); |
| 366 let SubListIterable = SubListIterable$(); | 366 let SubListIterable = SubListIterable$(); |
| 367 let _length = dart.JsSymbol('_length'); | 367 let _length = dart.JsSymbol('_length'); |
| 368 let _index = dart.JsSymbol('_index'); | 368 let _index = dart.JsSymbol('_index'); |
| 369 let _current = dart.JsSymbol('_current'); | 369 let _current = dart.JsSymbol('_current'); |
| 370 let ListIterator$ = dart.generic(function(E) { | 370 let ListIterator$ = dart.generic(function(E) { |
| 371 class ListIterator extends core.Object { | 371 class ListIterator extends core.Object { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 387 this[_current] = null; | 387 this[_current] = null; |
| 388 return false; | 388 return false; |
| 389 } | 389 } |
| 390 this[_current] = this[_iterable][core.$elementAt](this[_index]); | 390 this[_current] = this[_iterable][core.$elementAt](this[_index]); |
| 391 this[_index] = dart.notNull(this[_index]) + 1; | 391 this[_index] = dart.notNull(this[_index]) + 1; |
| 392 return true; | 392 return true; |
| 393 } | 393 } |
| 394 } | 394 } |
| 395 ListIterator[dart.implements] = () => [core.Iterator$(E)]; | 395 ListIterator[dart.implements] = () => [core.Iterator$(E)]; |
| 396 dart.setSignature(ListIterator, { | 396 dart.setSignature(ListIterator, { |
| 397 methods: () => ({moveNext: dart.functionType(core.bool, [])}) | 397 methods: () => ({moveNext: [core.bool, []]}) |
| 398 }); | 398 }); |
| 399 return ListIterator; | 399 return ListIterator; |
| 400 }); | 400 }); |
| 401 let ListIterator = ListIterator$(); | 401 let ListIterator = ListIterator$(); |
| 402 let _Transformation$ = dart.generic(function(S, T) { | 402 let _Transformation$ = dart.generic(function(S, T) { |
| 403 let _Transformation = dart.typedef('_Transformation', () => dart.functionTyp
e(T, [S])); | 403 let _Transformation = dart.typedef('_Transformation', () => dart.functionTyp
e(T, [S])); |
| 404 return _Transformation; | 404 return _Transformation; |
| 405 }); | 405 }); |
| 406 let _Transformation = _Transformation$(); | 406 let _Transformation = _Transformation$(); |
| 407 let _f = dart.JsSymbol('_f'); | 407 let _f = dart.JsSymbol('_f'); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 435 } | 435 } |
| 436 get [core.$single]() { | 436 get [core.$single]() { |
| 437 return this[_f](this[_iterable][core.$single]); | 437 return this[_f](this[_iterable][core.$single]); |
| 438 } | 438 } |
| 439 [core.$elementAt](index) { | 439 [core.$elementAt](index) { |
| 440 return this[_f](this[_iterable][core.$elementAt](index)); | 440 return this[_f](this[_iterable][core.$elementAt](index)); |
| 441 } | 441 } |
| 442 } | 442 } |
| 443 dart.defineNamedConstructor(MappedIterable, '_'); | 443 dart.defineNamedConstructor(MappedIterable, '_'); |
| 444 dart.setSignature(MappedIterable, { | 444 dart.setSignature(MappedIterable, { |
| 445 methods: () => ({[core.$elementAt]: dart.functionType(T, [core.int])}) | 445 methods: () => ({[core.$elementAt]: [T, [core.int]]}) |
| 446 }); | 446 }); |
| 447 return MappedIterable; | 447 return MappedIterable; |
| 448 }); | 448 }); |
| 449 let MappedIterable = MappedIterable$(); | 449 let MappedIterable = MappedIterable$(); |
| 450 let EfficientLengthMappedIterable$ = dart.generic(function(S, T) { | 450 let EfficientLengthMappedIterable$ = dart.generic(function(S, T) { |
| 451 class EfficientLengthMappedIterable extends MappedIterable$(S, T) { | 451 class EfficientLengthMappedIterable extends MappedIterable$(S, T) { |
| 452 EfficientLengthMappedIterable(iterable, func) { | 452 EfficientLengthMappedIterable(iterable, func) { |
| 453 super._(dart.as(iterable, core.Iterable$(S)), func); | 453 super._(dart.as(iterable, core.Iterable$(S)), func); |
| 454 } | 454 } |
| 455 } | 455 } |
| (...skipping 16 matching lines...) Expand all Loading... |
| 472 return true; | 472 return true; |
| 473 } | 473 } |
| 474 this[_current] = null; | 474 this[_current] = null; |
| 475 return false; | 475 return false; |
| 476 } | 476 } |
| 477 get current() { | 477 get current() { |
| 478 return this[_current]; | 478 return this[_current]; |
| 479 } | 479 } |
| 480 } | 480 } |
| 481 dart.setSignature(MappedIterator, { | 481 dart.setSignature(MappedIterator, { |
| 482 methods: () => ({moveNext: dart.functionType(core.bool, [])}) | 482 methods: () => ({moveNext: [core.bool, []]}) |
| 483 }); | 483 }); |
| 484 return MappedIterator; | 484 return MappedIterator; |
| 485 }); | 485 }); |
| 486 let MappedIterator = MappedIterator$(); | 486 let MappedIterator = MappedIterator$(); |
| 487 let _source = dart.JsSymbol('_source'); | 487 let _source = dart.JsSymbol('_source'); |
| 488 let MappedListIterable$ = dart.generic(function(S, T) { | 488 let MappedListIterable$ = dart.generic(function(S, T) { |
| 489 class MappedListIterable extends ListIterable$(T) { | 489 class MappedListIterable extends ListIterable$(T) { |
| 490 MappedListIterable(source, f) { | 490 MappedListIterable(source, f) { |
| 491 this[_source] = source; | 491 this[_source] = source; |
| 492 this[_f] = f; | 492 this[_f] = f; |
| 493 super.ListIterable(); | 493 super.ListIterable(); |
| 494 } | 494 } |
| 495 get [core.$length]() { | 495 get [core.$length]() { |
| 496 return this[_source][core.$length]; | 496 return this[_source][core.$length]; |
| 497 } | 497 } |
| 498 [core.$elementAt](index) { | 498 [core.$elementAt](index) { |
| 499 return this[_f](this[_source][core.$elementAt](index)); | 499 return this[_f](this[_source][core.$elementAt](index)); |
| 500 } | 500 } |
| 501 } | 501 } |
| 502 MappedListIterable[dart.implements] = () => [EfficientLength]; | 502 MappedListIterable[dart.implements] = () => [EfficientLength]; |
| 503 dart.setSignature(MappedListIterable, { | 503 dart.setSignature(MappedListIterable, { |
| 504 methods: () => ({[core.$elementAt]: dart.functionType(T, [core.int])}) | 504 methods: () => ({[core.$elementAt]: [T, [core.int]]}) |
| 505 }); | 505 }); |
| 506 return MappedListIterable; | 506 return MappedListIterable; |
| 507 }); | 507 }); |
| 508 let MappedListIterable = MappedListIterable$(); | 508 let MappedListIterable = MappedListIterable$(); |
| 509 let _ElementPredicate$ = dart.generic(function(E) { | 509 let _ElementPredicate$ = dart.generic(function(E) { |
| 510 let _ElementPredicate = dart.typedef('_ElementPredicate', () => dart.functio
nType(core.bool, [E])); | 510 let _ElementPredicate = dart.typedef('_ElementPredicate', () => dart.functio
nType(core.bool, [E])); |
| 511 return _ElementPredicate; | 511 return _ElementPredicate; |
| 512 }); | 512 }); |
| 513 let _ElementPredicate = _ElementPredicate$(); | 513 let _ElementPredicate = _ElementPredicate$(); |
| 514 let WhereIterable$ = dart.generic(function(E) { | 514 let WhereIterable$ = dart.generic(function(E) { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 538 return true; | 538 return true; |
| 539 } | 539 } |
| 540 } | 540 } |
| 541 return false; | 541 return false; |
| 542 } | 542 } |
| 543 get current() { | 543 get current() { |
| 544 return this[_iterator].current; | 544 return this[_iterator].current; |
| 545 } | 545 } |
| 546 } | 546 } |
| 547 dart.setSignature(WhereIterator, { | 547 dart.setSignature(WhereIterator, { |
| 548 methods: () => ({moveNext: dart.functionType(core.bool, [])}) | 548 methods: () => ({moveNext: [core.bool, []]}) |
| 549 }); | 549 }); |
| 550 return WhereIterator; | 550 return WhereIterator; |
| 551 }); | 551 }); |
| 552 let WhereIterator = WhereIterator$(); | 552 let WhereIterator = WhereIterator$(); |
| 553 let _ExpandFunction$ = dart.generic(function(S, T) { | 553 let _ExpandFunction$ = dart.generic(function(S, T) { |
| 554 let _ExpandFunction = dart.typedef('_ExpandFunction', () => dart.functionTyp
e(core.Iterable$(T), [S])); | 554 let _ExpandFunction = dart.typedef('_ExpandFunction', () => dart.functionTyp
e(core.Iterable$(T), [S])); |
| 555 return _ExpandFunction; | 555 return _ExpandFunction; |
| 556 }); | 556 }); |
| 557 let _ExpandFunction = _ExpandFunction$(); | 557 let _ExpandFunction = _ExpandFunction$(); |
| 558 let ExpandIterable$ = dart.generic(function(S, T) { | 558 let ExpandIterable$ = dart.generic(function(S, T) { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 596 return false; | 596 return false; |
| 597 } | 597 } |
| 598 } | 598 } |
| 599 this[_current] = this[_currentExpansion].current; | 599 this[_current] = this[_currentExpansion].current; |
| 600 return true; | 600 return true; |
| 601 } | 601 } |
| 602 } | 602 } |
| 603 ExpandIterator[dart.implements] = () => [core.Iterator$(T)]; | 603 ExpandIterator[dart.implements] = () => [core.Iterator$(T)]; |
| 604 dart.setSignature(ExpandIterator, { | 604 dart.setSignature(ExpandIterator, { |
| 605 methods: () => ({ | 605 methods: () => ({ |
| 606 [_nextExpansion]: dart.functionType(dart.void, []), | 606 [_nextExpansion]: [dart.void, []], |
| 607 moveNext: dart.functionType(core.bool, []) | 607 moveNext: [core.bool, []] |
| 608 }) | 608 }) |
| 609 }); | 609 }); |
| 610 return ExpandIterator; | 610 return ExpandIterator; |
| 611 }); | 611 }); |
| 612 let ExpandIterator = ExpandIterator$(); | 612 let ExpandIterator = ExpandIterator$(); |
| 613 let _takeCount = dart.JsSymbol('_takeCount'); | 613 let _takeCount = dart.JsSymbol('_takeCount'); |
| 614 let TakeIterable$ = dart.generic(function(E) { | 614 let TakeIterable$ = dart.generic(function(E) { |
| 615 class TakeIterable extends collection.IterableBase$(E) { | 615 class TakeIterable extends collection.IterableBase$(E) { |
| 616 TakeIterable(iterable, takeCount) { | 616 TakeIterable(iterable, takeCount) { |
| 617 if (!(typeof takeCount == 'number') || dart.notNull(takeCount) < 0) { | 617 if (!(typeof takeCount == 'number') || dart.notNull(takeCount) < 0) { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 this[_remaining] = -1; | 669 this[_remaining] = -1; |
| 670 return false; | 670 return false; |
| 671 } | 671 } |
| 672 get current() { | 672 get current() { |
| 673 if (dart.notNull(this[_remaining]) < 0) | 673 if (dart.notNull(this[_remaining]) < 0) |
| 674 return null; | 674 return null; |
| 675 return this[_iterator].current; | 675 return this[_iterator].current; |
| 676 } | 676 } |
| 677 } | 677 } |
| 678 dart.setSignature(TakeIterator, { | 678 dart.setSignature(TakeIterator, { |
| 679 methods: () => ({moveNext: dart.functionType(core.bool, [])}) | 679 methods: () => ({moveNext: [core.bool, []]}) |
| 680 }); | 680 }); |
| 681 return TakeIterator; | 681 return TakeIterator; |
| 682 }); | 682 }); |
| 683 let TakeIterator = TakeIterator$(); | 683 let TakeIterator = TakeIterator$(); |
| 684 let TakeWhileIterable$ = dart.generic(function(E) { | 684 let TakeWhileIterable$ = dart.generic(function(E) { |
| 685 class TakeWhileIterable extends collection.IterableBase$(E) { | 685 class TakeWhileIterable extends collection.IterableBase$(E) { |
| 686 TakeWhileIterable(iterable, f) { | 686 TakeWhileIterable(iterable, f) { |
| 687 this[_iterable] = iterable; | 687 this[_iterable] = iterable; |
| 688 this[_f] = f; | 688 this[_f] = f; |
| 689 super.IterableBase(); | 689 super.IterableBase(); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 713 } | 713 } |
| 714 return true; | 714 return true; |
| 715 } | 715 } |
| 716 get current() { | 716 get current() { |
| 717 if (this[_isFinished]) | 717 if (this[_isFinished]) |
| 718 return null; | 718 return null; |
| 719 return this[_iterator].current; | 719 return this[_iterator].current; |
| 720 } | 720 } |
| 721 } | 721 } |
| 722 dart.setSignature(TakeWhileIterator, { | 722 dart.setSignature(TakeWhileIterator, { |
| 723 methods: () => ({moveNext: dart.functionType(core.bool, [])}) | 723 methods: () => ({moveNext: [core.bool, []]}) |
| 724 }); | 724 }); |
| 725 return TakeWhileIterator; | 725 return TakeWhileIterator; |
| 726 }); | 726 }); |
| 727 let TakeWhileIterator = TakeWhileIterator$(); | 727 let TakeWhileIterator = TakeWhileIterator$(); |
| 728 let _skipCount = dart.JsSymbol('_skipCount'); | 728 let _skipCount = dart.JsSymbol('_skipCount'); |
| 729 let SkipIterable$ = dart.generic(function(E) { | 729 let SkipIterable$ = dart.generic(function(E) { |
| 730 class SkipIterable extends collection.IterableBase$(E) { | 730 class SkipIterable extends collection.IterableBase$(E) { |
| 731 SkipIterable(iterable, count) { | 731 SkipIterable(iterable, count) { |
| 732 if (dart.is(iterable, EfficientLength)) { | 732 if (dart.is(iterable, EfficientLength)) { |
| 733 return new (EfficientLengthSkipIterable$(E))(iterable, count); | 733 return new (EfficientLengthSkipIterable$(E))(iterable, count); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 749 } | 749 } |
| 750 core.RangeError.checkNotNegative(this[_skipCount], "count"); | 750 core.RangeError.checkNotNegative(this[_skipCount], "count"); |
| 751 return new (SkipIterable$(E))._(this[_iterable], dart.notNull(this[_skip
Count]) + dart.notNull(count)); | 751 return new (SkipIterable$(E))._(this[_iterable], dart.notNull(this[_skip
Count]) + dart.notNull(count)); |
| 752 } | 752 } |
| 753 get [core.$iterator]() { | 753 get [core.$iterator]() { |
| 754 return new (SkipIterator$(E))(this[_iterable][core.$iterator], this[_ski
pCount]); | 754 return new (SkipIterator$(E))(this[_iterable][core.$iterator], this[_ski
pCount]); |
| 755 } | 755 } |
| 756 } | 756 } |
| 757 dart.defineNamedConstructor(SkipIterable, '_'); | 757 dart.defineNamedConstructor(SkipIterable, '_'); |
| 758 dart.setSignature(SkipIterable, { | 758 dart.setSignature(SkipIterable, { |
| 759 methods: () => ({[core.$skip]: dart.functionType(core.Iterable$(E), [core.
int])}) | 759 methods: () => ({[core.$skip]: [core.Iterable$(E), [core.int]]}) |
| 760 }); | 760 }); |
| 761 return SkipIterable; | 761 return SkipIterable; |
| 762 }); | 762 }); |
| 763 let SkipIterable = SkipIterable$(); | 763 let SkipIterable = SkipIterable$(); |
| 764 let EfficientLengthSkipIterable$ = dart.generic(function(E) { | 764 let EfficientLengthSkipIterable$ = dart.generic(function(E) { |
| 765 class EfficientLengthSkipIterable extends SkipIterable$(E) { | 765 class EfficientLengthSkipIterable extends SkipIterable$(E) { |
| 766 EfficientLengthSkipIterable(iterable, skipCount) { | 766 EfficientLengthSkipIterable(iterable, skipCount) { |
| 767 super._(iterable, skipCount); | 767 super._(iterable, skipCount); |
| 768 } | 768 } |
| 769 get [core.$length]() { | 769 get [core.$length]() { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 789 for (let i = 0; dart.notNull(i) < dart.notNull(this[_skipCount]); i = da
rt.notNull(i) + 1) | 789 for (let i = 0; dart.notNull(i) < dart.notNull(this[_skipCount]); i = da
rt.notNull(i) + 1) |
| 790 this[_iterator].moveNext(); | 790 this[_iterator].moveNext(); |
| 791 this[_skipCount] = 0; | 791 this[_skipCount] = 0; |
| 792 return this[_iterator].moveNext(); | 792 return this[_iterator].moveNext(); |
| 793 } | 793 } |
| 794 get current() { | 794 get current() { |
| 795 return this[_iterator].current; | 795 return this[_iterator].current; |
| 796 } | 796 } |
| 797 } | 797 } |
| 798 dart.setSignature(SkipIterator, { | 798 dart.setSignature(SkipIterator, { |
| 799 methods: () => ({moveNext: dart.functionType(core.bool, [])}) | 799 methods: () => ({moveNext: [core.bool, []]}) |
| 800 }); | 800 }); |
| 801 return SkipIterator; | 801 return SkipIterator; |
| 802 }); | 802 }); |
| 803 let SkipIterator = SkipIterator$(); | 803 let SkipIterator = SkipIterator$(); |
| 804 let SkipWhileIterable$ = dart.generic(function(E) { | 804 let SkipWhileIterable$ = dart.generic(function(E) { |
| 805 class SkipWhileIterable extends collection.IterableBase$(E) { | 805 class SkipWhileIterable extends collection.IterableBase$(E) { |
| 806 SkipWhileIterable(iterable, f) { | 806 SkipWhileIterable(iterable, f) { |
| 807 this[_iterable] = iterable; | 807 this[_iterable] = iterable; |
| 808 this[_f] = f; | 808 this[_f] = f; |
| 809 super.IterableBase(); | 809 super.IterableBase(); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 832 return true; | 832 return true; |
| 833 } | 833 } |
| 834 } | 834 } |
| 835 return this[_iterator].moveNext(); | 835 return this[_iterator].moveNext(); |
| 836 } | 836 } |
| 837 get current() { | 837 get current() { |
| 838 return this[_iterator].current; | 838 return this[_iterator].current; |
| 839 } | 839 } |
| 840 } | 840 } |
| 841 dart.setSignature(SkipWhileIterator, { | 841 dart.setSignature(SkipWhileIterator, { |
| 842 methods: () => ({moveNext: dart.functionType(core.bool, [])}) | 842 methods: () => ({moveNext: [core.bool, []]}) |
| 843 }); | 843 }); |
| 844 return SkipWhileIterator; | 844 return SkipWhileIterator; |
| 845 }); | 845 }); |
| 846 let SkipWhileIterator = SkipWhileIterator$(); | 846 let SkipWhileIterator = SkipWhileIterator$(); |
| 847 let EmptyIterable$ = dart.generic(function(E) { | 847 let EmptyIterable$ = dart.generic(function(E) { |
| 848 class EmptyIterable extends collection.IterableBase$(E) { | 848 class EmptyIterable extends collection.IterableBase$(E) { |
| 849 EmptyIterable() { | 849 EmptyIterable() { |
| 850 super.IterableBase(); | 850 super.IterableBase(); |
| 851 } | 851 } |
| 852 get [core.$iterator]() { | 852 get [core.$iterator]() { |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 949 let growable = opts && 'growable' in opts ? opts.growable : true; | 949 let growable = opts && 'growable' in opts ? opts.growable : true; |
| 950 return growable ? dart.setType([], core.List$(E)) : new (core.List$(E))(
0); | 950 return growable ? dart.setType([], core.List$(E)) : new (core.List$(E))(
0); |
| 951 } | 951 } |
| 952 [core.$toSet]() { | 952 [core.$toSet]() { |
| 953 return new (core.Set$(E))(); | 953 return new (core.Set$(E))(); |
| 954 } | 954 } |
| 955 } | 955 } |
| 956 EmptyIterable[dart.implements] = () => [EfficientLength]; | 956 EmptyIterable[dart.implements] = () => [EfficientLength]; |
| 957 dart.setSignature(EmptyIterable, { | 957 dart.setSignature(EmptyIterable, { |
| 958 methods: () => ({ | 958 methods: () => ({ |
| 959 [core.$forEach]: dart.functionType(dart.void, [dart.functionType(dart.vo
id, [E])]), | 959 [core.$forEach]: [dart.void, [dart.functionType(dart.void, [E])]], |
| 960 [core.$elementAt]: dart.functionType(E, [core.int]), | 960 [core.$elementAt]: [E, [core.int]], |
| 961 [core.$contains]: dart.functionType(core.bool, [core.Object]), | 961 [core.$contains]: [core.bool, [core.Object]], |
| 962 [core.$every]: dart.functionType(core.bool, [dart.functionType(core.bool
, [E])]), | 962 [core.$every]: [core.bool, [dart.functionType(core.bool, [E])]], |
| 963 [core.$any]: dart.functionType(core.bool, [dart.functionType(core.bool,
[E])]), | 963 [core.$any]: [core.bool, [dart.functionType(core.bool, [E])]], |
| 964 [core.$firstWhere]: dart.functionType(E, [dart.functionType(core.bool, [
E])], {rEls: dart.functionType(E, [])}), | 964 [core.$firstWhere]: [E, [dart.functionType(core.bool, [E])], {rEls: dart
.functionType(E, [])}], |
| 965 [core.$lastWhere]: dart.functionType(E, [dart.functionType(core.bool, [E
])], {rEls: dart.functionType(E, [])}), | 965 [core.$lastWhere]: [E, [dart.functionType(core.bool, [E])], {rEls: dart.
functionType(E, [])}], |
| 966 [core.$singleWhere]: dart.functionType(E, [dart.functionType(core.bool,
[E])], {rEls: dart.functionType(E, [])}), | 966 [core.$singleWhere]: [E, [dart.functionType(core.bool, [E])], {rEls: dar
t.functionType(E, [])}], |
| 967 [core.$join]: dart.functionType(core.String, [], [core.String]), | 967 [core.$join]: [core.String, [], [core.String]], |
| 968 [core.$where]: dart.functionType(core.Iterable$(E), [dart.functionType(c
ore.bool, [E])]), | 968 [core.$where]: [core.Iterable$(E), [dart.functionType(core.bool, [E])]], |
| 969 [core.$map]: dart.functionType(core.Iterable, [dart.functionType(dart.dy
namic, [E])]), | 969 [core.$map]: [core.Iterable, [dart.functionType(dart.dynamic, [E])]], |
| 970 [core.$reduce]: dart.functionType(E, [dart.functionType(E, [E, E])]), | 970 [core.$reduce]: [E, [dart.functionType(E, [E, E])]], |
| 971 [core.$fold]: dart.functionType(dart.dynamic, [dart.dynamic, dart.functi
onType(dart.dynamic, [dart.dynamic, E])]), | 971 [core.$fold]: [dart.dynamic, [dart.dynamic, dart.functionType(dart.dynam
ic, [dart.dynamic, E])]], |
| 972 [core.$skip]: dart.functionType(core.Iterable$(E), [core.int]), | 972 [core.$skip]: [core.Iterable$(E), [core.int]], |
| 973 [core.$skipWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy
pe(core.bool, [E])]), | 973 [core.$skipWhile]: [core.Iterable$(E), [dart.functionType(core.bool, [E]
)]], |
| 974 [core.$take]: dart.functionType(core.Iterable$(E), [core.int]), | 974 [core.$take]: [core.Iterable$(E), [core.int]], |
| 975 [core.$takeWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy
pe(core.bool, [E])]), | 975 [core.$takeWhile]: [core.Iterable$(E), [dart.functionType(core.bool, [E]
)]], |
| 976 [core.$toList]: dart.functionType(core.List$(E), [], {rowabl: core.bool}
), | 976 [core.$toList]: [core.List$(E), [], {rowabl: core.bool}], |
| 977 [core.$toSet]: dart.functionType(core.Set$(E), []) | 977 [core.$toSet]: [core.Set$(E), []] |
| 978 }) | 978 }) |
| 979 }); | 979 }); |
| 980 return EmptyIterable; | 980 return EmptyIterable; |
| 981 }); | 981 }); |
| 982 let EmptyIterable = EmptyIterable$(); | 982 let EmptyIterable = EmptyIterable$(); |
| 983 let EmptyIterator$ = dart.generic(function(E) { | 983 let EmptyIterator$ = dart.generic(function(E) { |
| 984 class EmptyIterator extends core.Object { | 984 class EmptyIterator extends core.Object { |
| 985 EmptyIterator() { | 985 EmptyIterator() { |
| 986 } | 986 } |
| 987 moveNext() { | 987 moveNext() { |
| 988 return false; | 988 return false; |
| 989 } | 989 } |
| 990 get current() { | 990 get current() { |
| 991 return null; | 991 return null; |
| 992 } | 992 } |
| 993 } | 993 } |
| 994 EmptyIterator[dart.implements] = () => [core.Iterator$(E)]; | 994 EmptyIterator[dart.implements] = () => [core.Iterator$(E)]; |
| 995 dart.setSignature(EmptyIterator, { | 995 dart.setSignature(EmptyIterator, { |
| 996 methods: () => ({moveNext: dart.functionType(core.bool, [])}) | 996 methods: () => ({moveNext: [core.bool, []]}) |
| 997 }); | 997 }); |
| 998 return EmptyIterator; | 998 return EmptyIterator; |
| 999 }); | 999 }); |
| 1000 let EmptyIterator = EmptyIterator$(); | 1000 let EmptyIterator = EmptyIterator$(); |
| 1001 let BidirectionalIterator$ = dart.generic(function(T) { | 1001 let BidirectionalIterator$ = dart.generic(function(T) { |
| 1002 class BidirectionalIterator extends core.Object {} | 1002 class BidirectionalIterator extends core.Object {} |
| 1003 BidirectionalIterator[dart.implements] = () => [core.Iterator$(T)]; | 1003 BidirectionalIterator[dart.implements] = () => [core.Iterator$(T)]; |
| 1004 dart.setSignature(BidirectionalIterator, {}); | 1004 dart.setSignature(BidirectionalIterator, {}); |
| 1005 return BidirectionalIterator; | 1005 return BidirectionalIterator; |
| 1006 }); | 1006 }); |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1381 for (let element of set) { | 1381 for (let element of set) { |
| 1382 if (!dart.notNull(other[core.$contains](element))) { | 1382 if (!dart.notNull(other[core.$contains](element))) { |
| 1383 result.add(element); | 1383 result.add(element); |
| 1384 } | 1384 } |
| 1385 } | 1385 } |
| 1386 return result; | 1386 return result; |
| 1387 } | 1387 } |
| 1388 } | 1388 } |
| 1389 dart.setSignature(IterableMixinWorkaround, { | 1389 dart.setSignature(IterableMixinWorkaround, { |
| 1390 methods: () => ({ | 1390 methods: () => ({ |
| 1391 where: dart.functionType(core.Iterable$(T), [core.Iterable, dart.functio
nType(core.bool, [dart.dynamic])]), | 1391 where: [core.Iterable$(T), [core.Iterable, dart.functionType(core.bool,
[dart.dynamic])]], |
| 1392 takeList: dart.functionType(core.Iterable$(T), [core.List, core.int]), | 1392 takeList: [core.Iterable$(T), [core.List, core.int]], |
| 1393 takeWhile: dart.functionType(core.Iterable$(T), [core.Iterable, dart.fun
ctionType(core.bool, [dart.dynamic])]), | 1393 takeWhile: [core.Iterable$(T), [core.Iterable, dart.functionType(core.bo
ol, [dart.dynamic])]], |
| 1394 skipList: dart.functionType(core.Iterable$(T), [core.List, core.int]), | 1394 skipList: [core.Iterable$(T), [core.List, core.int]], |
| 1395 skipWhile: dart.functionType(core.Iterable$(T), [core.Iterable, dart.fun
ctionType(core.bool, [dart.dynamic])]), | 1395 skipWhile: [core.Iterable$(T), [core.Iterable, dart.functionType(core.bo
ol, [dart.dynamic])]], |
| 1396 reversedList: dart.functionType(core.Iterable$(T), [core.List]), | 1396 reversedList: [core.Iterable$(T), [core.List]], |
| 1397 getRangeList: dart.functionType(core.Iterable$(T), [core.List, core.int,
core.int]), | 1397 getRangeList: [core.Iterable$(T), [core.List, core.int, core.int]], |
| 1398 asMapList: dart.functionType(core.Map$(core.int, T), [core.List]) | 1398 asMapList: [core.Map$(core.int, T), [core.List]] |
| 1399 }), | 1399 }), |
| 1400 statics: () => ({ | 1400 statics: () => ({ |
| 1401 contains: dart.functionType(core.bool, [core.Iterable, dart.dynamic]), | 1401 contains: [core.bool, [core.Iterable, dart.dynamic]], |
| 1402 forEach: dart.functionType(dart.void, [core.Iterable, dart.functionType(
dart.void, [dart.dynamic])]), | 1402 forEach: [dart.void, [core.Iterable, dart.functionType(dart.void, [dart.
dynamic])]], |
| 1403 any: dart.functionType(core.bool, [core.Iterable, dart.functionType(core
.bool, [dart.dynamic])]), | 1403 any: [core.bool, [core.Iterable, dart.functionType(core.bool, [dart.dyna
mic])]], |
| 1404 every: dart.functionType(core.bool, [core.Iterable, dart.functionType(co
re.bool, [dart.dynamic])]), | 1404 every: [core.bool, [core.Iterable, dart.functionType(core.bool, [dart.dy
namic])]], |
| 1405 reduce: dart.functionType(dart.dynamic, [core.Iterable, dart.functionTyp
e(dart.dynamic, [dart.dynamic, dart.dynamic])]), | 1405 reduce: [dart.dynamic, [core.Iterable, dart.functionType(dart.dynamic, [
dart.dynamic, dart.dynamic])]], |
| 1406 fold: dart.functionType(dart.dynamic, [core.Iterable, dart.dynamic, dart
.functionType(dart.dynamic, [dart.dynamic, dart.dynamic])]), | 1406 fold: [dart.dynamic, [core.Iterable, dart.dynamic, dart.functionType(dar
t.dynamic, [dart.dynamic, dart.dynamic])]], |
| 1407 removeWhereList: dart.functionType(dart.void, [core.List, dart.functionT
ype(core.bool, [dart.dynamic])]), | 1407 removeWhereList: [dart.void, [core.List, dart.functionType(core.bool, [d
art.dynamic])]], |
| 1408 isEmpty: dart.functionType(core.bool, [core.Iterable]), | 1408 isEmpty: [core.bool, [core.Iterable]], |
| 1409 first: dart.functionType(dart.dynamic, [core.Iterable]), | 1409 first: [dart.dynamic, [core.Iterable]], |
| 1410 last: dart.functionType(dart.dynamic, [core.Iterable]), | 1410 last: [dart.dynamic, [core.Iterable]], |
| 1411 single: dart.functionType(dart.dynamic, [core.Iterable]), | 1411 single: [dart.dynamic, [core.Iterable]], |
| 1412 firstWhere: dart.functionType(dart.dynamic, [core.Iterable, dart.functio
nType(core.bool, [dart.dynamic]), dart.functionType(dart.dynamic, [])]), | 1412 firstWhere: [dart.dynamic, [core.Iterable, dart.functionType(core.bool,
[dart.dynamic]), dart.functionType(dart.dynamic, [])]], |
| 1413 lastWhere: dart.functionType(dart.dynamic, [core.Iterable, dart.function
Type(core.bool, [dart.dynamic]), dart.functionType(dart.dynamic, [])]), | 1413 lastWhere: [dart.dynamic, [core.Iterable, dart.functionType(core.bool, [
dart.dynamic]), dart.functionType(dart.dynamic, [])]], |
| 1414 lastWhereList: dart.functionType(dart.dynamic, [core.List, dart.function
Type(core.bool, [dart.dynamic]), dart.functionType(dart.dynamic, [])]), | 1414 lastWhereList: [dart.dynamic, [core.List, dart.functionType(core.bool, [
dart.dynamic]), dart.functionType(dart.dynamic, [])]], |
| 1415 singleWhere: dart.functionType(dart.dynamic, [core.Iterable, dart.functi
onType(core.bool, [dart.dynamic])]), | 1415 singleWhere: [dart.dynamic, [core.Iterable, dart.functionType(core.bool,
[dart.dynamic])]], |
| 1416 elementAt: dart.functionType(dart.dynamic, [core.Iterable, core.int]), | 1416 elementAt: [dart.dynamic, [core.Iterable, core.int]], |
| 1417 join: dart.functionType(core.String, [core.Iterable], [core.String]), | 1417 join: [core.String, [core.Iterable], [core.String]], |
| 1418 joinList: dart.functionType(core.String, [core.List], [core.String]), | 1418 joinList: [core.String, [core.List], [core.String]], |
| 1419 map: dart.functionType(core.Iterable, [core.Iterable, dart.functionType(
dart.dynamic, [dart.dynamic])]), | 1419 map: [core.Iterable, [core.Iterable, dart.functionType(dart.dynamic, [da
rt.dynamic])]], |
| 1420 mapList: dart.functionType(core.Iterable, [core.List, dart.functionType(
dart.dynamic, [dart.dynamic])]), | 1420 mapList: [core.Iterable, [core.List, dart.functionType(dart.dynamic, [da
rt.dynamic])]], |
| 1421 expand: dart.functionType(core.Iterable, [core.Iterable, dart.functionTy
pe(core.Iterable, [dart.dynamic])]), | 1421 expand: [core.Iterable, [core.Iterable, dart.functionType(core.Iterable,
[dart.dynamic])]], |
| 1422 sortList: dart.functionType(dart.void, [core.List, dart.functionType(cor
e.int, [dart.dynamic, dart.dynamic])]), | 1422 sortList: [dart.void, [core.List, dart.functionType(core.int, [dart.dyna
mic, dart.dynamic])]], |
| 1423 shuffleList: dart.functionType(dart.void, [core.List, math.Random]), | 1423 shuffleList: [dart.void, [core.List, math.Random]], |
| 1424 indexOfList: dart.functionType(core.int, [core.List, dart.dynamic, core.
int]), | 1424 indexOfList: [core.int, [core.List, dart.dynamic, core.int]], |
| 1425 lastIndexOfList: dart.functionType(core.int, [core.List, dart.dynamic, c
ore.int]), | 1425 lastIndexOfList: [core.int, [core.List, dart.dynamic, core.int]], |
| 1426 _rangeCheck: dart.functionType(dart.void, [core.List, core.int, core.int
]), | 1426 _rangeCheck: [dart.void, [core.List, core.int, core.int]], |
| 1427 setRangeList: dart.functionType(dart.void, [core.List, core.int, core.in
t, core.Iterable, core.int]), | 1427 setRangeList: [dart.void, [core.List, core.int, core.int, core.Iterable,
core.int]], |
| 1428 replaceRangeList: dart.functionType(dart.void, [core.List, core.int, cor
e.int, core.Iterable]), | 1428 replaceRangeList: [dart.void, [core.List, core.int, core.int, core.Itera
ble]], |
| 1429 fillRangeList: dart.functionType(dart.void, [core.List, core.int, core.i
nt, dart.dynamic]), | 1429 fillRangeList: [dart.void, [core.List, core.int, core.int, dart.dynamic]
], |
| 1430 insertAllList: dart.functionType(dart.void, [core.List, core.int, core.I
terable]), | 1430 insertAllList: [dart.void, [core.List, core.int, core.Iterable]], |
| 1431 setAllList: dart.functionType(dart.void, [core.List, core.int, core.Iter
able]), | 1431 setAllList: [dart.void, [core.List, core.int, core.Iterable]], |
| 1432 setContainsAll: dart.functionType(core.bool, [core.Set, core.Iterable]), | 1432 setContainsAll: [core.bool, [core.Set, core.Iterable]], |
| 1433 setIntersection: dart.functionType(core.Set, [core.Set, core.Set, core.S
et]), | 1433 setIntersection: [core.Set, [core.Set, core.Set, core.Set]], |
| 1434 setUnion: dart.functionType(core.Set, [core.Set, core.Set, core.Set]), | 1434 setUnion: [core.Set, [core.Set, core.Set, core.Set]], |
| 1435 setDifference: dart.functionType(core.Set, [core.Set, core.Set, core.Set
]) | 1435 setDifference: [core.Set, [core.Set, core.Set, core.Set]] |
| 1436 }), | 1436 }), |
| 1437 names: ['contains', 'forEach', 'any', 'every', 'reduce', 'fold', 'removeWh
ereList', 'isEmpty', 'first', 'last', 'single', 'firstWhere', 'lastWhere', 'last
WhereList', 'singleWhere', 'elementAt', 'join', 'joinList', 'map', 'mapList', 'e
xpand', 'sortList', 'shuffleList', 'indexOfList', 'lastIndexOfList', '_rangeChec
k', 'setRangeList', 'replaceRangeList', 'fillRangeList', 'insertAllList', 'setAl
lList', 'setContainsAll', 'setIntersection', 'setUnion', 'setDifference'] | 1437 names: ['contains', 'forEach', 'any', 'every', 'reduce', 'fold', 'removeWh
ereList', 'isEmpty', 'first', 'last', 'single', 'firstWhere', 'lastWhere', 'last
WhereList', 'singleWhere', 'elementAt', 'join', 'joinList', 'map', 'mapList', 'e
xpand', 'sortList', 'shuffleList', 'indexOfList', 'lastIndexOfList', '_rangeChec
k', 'setRangeList', 'replaceRangeList', 'fillRangeList', 'insertAllList', 'setAl
lList', 'setContainsAll', 'setIntersection', 'setUnion', 'setDifference'] |
| 1438 }); | 1438 }); |
| 1439 return IterableMixinWorkaround; | 1439 return IterableMixinWorkaround; |
| 1440 }); | 1440 }); |
| 1441 let IterableMixinWorkaround = IterableMixinWorkaround$(); | 1441 let IterableMixinWorkaround = IterableMixinWorkaround$(); |
| 1442 class IterableElementError extends core.Object { | 1442 class IterableElementError extends core.Object { |
| 1443 static noElement() { | 1443 static noElement() { |
| 1444 return new core.StateError("No element"); | 1444 return new core.StateError("No element"); |
| 1445 } | 1445 } |
| 1446 static tooMany() { | 1446 static tooMany() { |
| 1447 return new core.StateError("Too many elements"); | 1447 return new core.StateError("Too many elements"); |
| 1448 } | 1448 } |
| 1449 static tooFew() { | 1449 static tooFew() { |
| 1450 return new core.StateError("Too few elements"); | 1450 return new core.StateError("Too few elements"); |
| 1451 } | 1451 } |
| 1452 } | 1452 } |
| 1453 dart.setSignature(IterableElementError, { | 1453 dart.setSignature(IterableElementError, { |
| 1454 statics: () => ({ | 1454 statics: () => ({ |
| 1455 noElement: dart.functionType(core.StateError, []), | 1455 noElement: [core.StateError, []], |
| 1456 tooMany: dart.functionType(core.StateError, []), | 1456 tooMany: [core.StateError, []], |
| 1457 tooFew: dart.functionType(core.StateError, []) | 1457 tooFew: [core.StateError, []] |
| 1458 }), | 1458 }), |
| 1459 names: ['noElement', 'tooMany', 'tooFew'] | 1459 names: ['noElement', 'tooMany', 'tooFew'] |
| 1460 }); | 1460 }); |
| 1461 let __CastType0$ = dart.generic(function(S, T) { | 1461 let __CastType0$ = dart.generic(function(S, T) { |
| 1462 let __CastType0 = dart.typedef('__CastType0', () => dart.functionType(core.I
terable$(T), [S])); | 1462 let __CastType0 = dart.typedef('__CastType0', () => dart.functionType(core.I
terable$(T), [S])); |
| 1463 return __CastType0; | 1463 return __CastType0; |
| 1464 }); | 1464 }); |
| 1465 let __CastType0 = __CastType0$(); | 1465 let __CastType0 = __CastType0$(); |
| 1466 let __CastType2$ = dart.generic(function(E) { | 1466 let __CastType2$ = dart.generic(function(E) { |
| 1467 let __CastType2 = dart.typedef('__CastType2', () => dart.functionType(core.b
ool, [E])); | 1467 let __CastType2 = dart.typedef('__CastType2', () => dart.functionType(core.b
ool, [E])); |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1522 removeRange(start, end) { | 1522 removeRange(start, end) { |
| 1523 throw new core.UnsupportedError("Cannot remove from a fixed-length list"
); | 1523 throw new core.UnsupportedError("Cannot remove from a fixed-length list"
); |
| 1524 } | 1524 } |
| 1525 replaceRange(start, end, iterable) { | 1525 replaceRange(start, end, iterable) { |
| 1526 dart.as(iterable, core.Iterable$(E)); | 1526 dart.as(iterable, core.Iterable$(E)); |
| 1527 throw new core.UnsupportedError("Cannot remove from a fixed-length list"
); | 1527 throw new core.UnsupportedError("Cannot remove from a fixed-length list"
); |
| 1528 } | 1528 } |
| 1529 } | 1529 } |
| 1530 dart.setSignature(FixedLengthListMixin, { | 1530 dart.setSignature(FixedLengthListMixin, { |
| 1531 methods: () => ({ | 1531 methods: () => ({ |
| 1532 add: dart.functionType(dart.void, [E]), | 1532 add: [dart.void, [E]], |
| 1533 insert: dart.functionType(dart.void, [core.int, E]), | 1533 insert: [dart.void, [core.int, E]], |
| 1534 insertAll: dart.functionType(dart.void, [core.int, core.Iterable$(E)]), | 1534 insertAll: [dart.void, [core.int, core.Iterable$(E)]], |
| 1535 addAll: dart.functionType(dart.void, [core.Iterable$(E)]), | 1535 addAll: [dart.void, [core.Iterable$(E)]], |
| 1536 remove: dart.functionType(core.bool, [core.Object]), | 1536 remove: [core.bool, [core.Object]], |
| 1537 removeWhere: dart.functionType(dart.void, [dart.functionType(core.bool,
[E])]), | 1537 removeWhere: [dart.void, [dart.functionType(core.bool, [E])]], |
| 1538 retainWhere: dart.functionType(dart.void, [dart.functionType(core.bool,
[E])]), | 1538 retainWhere: [dart.void, [dart.functionType(core.bool, [E])]], |
| 1539 clear: dart.functionType(dart.void, []), | 1539 clear: [dart.void, []], |
| 1540 removeAt: dart.functionType(E, [core.int]), | 1540 removeAt: [E, [core.int]], |
| 1541 removeLast: dart.functionType(E, []), | 1541 removeLast: [E, []], |
| 1542 removeRange: dart.functionType(dart.void, [core.int, core.int]), | 1542 removeRange: [dart.void, [core.int, core.int]], |
| 1543 replaceRange: dart.functionType(dart.void, [core.int, core.int, core.Ite
rable$(E)]) | 1543 replaceRange: [dart.void, [core.int, core.int, core.Iterable$(E)]] |
| 1544 }) | 1544 }) |
| 1545 }); | 1545 }); |
| 1546 return FixedLengthListMixin; | 1546 return FixedLengthListMixin; |
| 1547 }); | 1547 }); |
| 1548 let FixedLengthListMixin = FixedLengthListMixin$(); | 1548 let FixedLengthListMixin = FixedLengthListMixin$(); |
| 1549 let UnmodifiableListMixin$ = dart.generic(function(E) { | 1549 let UnmodifiableListMixin$ = dart.generic(function(E) { |
| 1550 class UnmodifiableListMixin extends core.Object { | 1550 class UnmodifiableListMixin extends core.Object { |
| 1551 [core.$set](index, value) { | 1551 [core.$set](index, value) { |
| 1552 dart.as(value, E); | 1552 dart.as(value, E); |
| 1553 throw new core.UnsupportedError("Cannot modify an unmodifiable list"); | 1553 throw new core.UnsupportedError("Cannot modify an unmodifiable list"); |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1622 [core.$fillRange](start, end, fillValue) { | 1622 [core.$fillRange](start, end, fillValue) { |
| 1623 if (fillValue === void 0) | 1623 if (fillValue === void 0) |
| 1624 fillValue = null; | 1624 fillValue = null; |
| 1625 dart.as(fillValue, E); | 1625 dart.as(fillValue, E); |
| 1626 throw new core.UnsupportedError("Cannot modify an unmodifiable list"); | 1626 throw new core.UnsupportedError("Cannot modify an unmodifiable list"); |
| 1627 } | 1627 } |
| 1628 } | 1628 } |
| 1629 UnmodifiableListMixin[dart.implements] = () => [core.List$(E)]; | 1629 UnmodifiableListMixin[dart.implements] = () => [core.List$(E)]; |
| 1630 dart.setSignature(UnmodifiableListMixin, { | 1630 dart.setSignature(UnmodifiableListMixin, { |
| 1631 methods: () => ({ | 1631 methods: () => ({ |
| 1632 [core.$set]: dart.functionType(dart.void, [core.int, E]), | 1632 [core.$set]: [dart.void, [core.int, E]], |
| 1633 [core.$setAll]: dart.functionType(dart.void, [core.int, core.Iterable$(E
)]), | 1633 [core.$setAll]: [dart.void, [core.int, core.Iterable$(E)]], |
| 1634 [core.$add]: dart.functionType(dart.void, [E]), | 1634 [core.$add]: [dart.void, [E]], |
| 1635 [core.$insert]: dart.functionType(E, [core.int, E]), | 1635 [core.$insert]: [E, [core.int, E]], |
| 1636 [core.$insertAll]: dart.functionType(dart.void, [core.int, core.Iterable
$(E)]), | 1636 [core.$insertAll]: [dart.void, [core.int, core.Iterable$(E)]], |
| 1637 [core.$addAll]: dart.functionType(dart.void, [core.Iterable$(E)]), | 1637 [core.$addAll]: [dart.void, [core.Iterable$(E)]], |
| 1638 [core.$remove]: dart.functionType(core.bool, [core.Object]), | 1638 [core.$remove]: [core.bool, [core.Object]], |
| 1639 [core.$removeWhere]: dart.functionType(dart.void, [dart.functionType(cor
e.bool, [E])]), | 1639 [core.$removeWhere]: [dart.void, [dart.functionType(core.bool, [E])]], |
| 1640 [core.$retainWhere]: dart.functionType(dart.void, [dart.functionType(cor
e.bool, [E])]), | 1640 [core.$retainWhere]: [dart.void, [dart.functionType(core.bool, [E])]], |
| 1641 [core.$sort]: dart.functionType(dart.void, [], [core.Comparator$(E)]), | 1641 [core.$sort]: [dart.void, [], [core.Comparator$(E)]], |
| 1642 [core.$shuffle]: dart.functionType(dart.void, [], [math.Random]), | 1642 [core.$shuffle]: [dart.void, [], [math.Random]], |
| 1643 [core.$clear]: dart.functionType(dart.void, []), | 1643 [core.$clear]: [dart.void, []], |
| 1644 [core.$removeAt]: dart.functionType(E, [core.int]), | 1644 [core.$removeAt]: [E, [core.int]], |
| 1645 [core.$removeLast]: dart.functionType(E, []), | 1645 [core.$removeLast]: [E, []], |
| 1646 [core.$setRange]: dart.functionType(dart.void, [core.int, core.int, core
.Iterable$(E)], [core.int]), | 1646 [core.$setRange]: [dart.void, [core.int, core.int, core.Iterable$(E)], [
core.int]], |
| 1647 [core.$removeRange]: dart.functionType(dart.void, [core.int, core.int]), | 1647 [core.$removeRange]: [dart.void, [core.int, core.int]], |
| 1648 [core.$replaceRange]: dart.functionType(dart.void, [core.int, core.int,
core.Iterable$(E)]), | 1648 [core.$replaceRange]: [dart.void, [core.int, core.int, core.Iterable$(E)
]], |
| 1649 [core.$fillRange]: dart.functionType(dart.void, [core.int, core.int], [E
]) | 1649 [core.$fillRange]: [dart.void, [core.int, core.int], [E]] |
| 1650 }) | 1650 }) |
| 1651 }); | 1651 }); |
| 1652 return UnmodifiableListMixin; | 1652 return UnmodifiableListMixin; |
| 1653 }); | 1653 }); |
| 1654 let UnmodifiableListMixin = UnmodifiableListMixin$(); | 1654 let UnmodifiableListMixin = UnmodifiableListMixin$(); |
| 1655 let FixedLengthListBase$ = dart.generic(function(E) { | 1655 let FixedLengthListBase$ = dart.generic(function(E) { |
| 1656 class FixedLengthListBase extends dart.mixin(collection.ListBase$(E), FixedL
engthListMixin$(E)) {} | 1656 class FixedLengthListBase extends dart.mixin(collection.ListBase$(E), FixedL
engthListMixin$(E)) {} |
| 1657 return FixedLengthListBase; | 1657 return FixedLengthListBase; |
| 1658 }); | 1658 }); |
| 1659 let FixedLengthListBase = FixedLengthListBase$(); | 1659 let FixedLengthListBase = FixedLengthListBase$(); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1670 } | 1670 } |
| 1671 get [core.$length]() { | 1671 get [core.$length]() { |
| 1672 return this[_backedList][core.$length]; | 1672 return this[_backedList][core.$length]; |
| 1673 } | 1673 } |
| 1674 [core.$elementAt](index) { | 1674 [core.$elementAt](index) { |
| 1675 core.RangeError.checkValidIndex(index, this); | 1675 core.RangeError.checkValidIndex(index, this); |
| 1676 return index; | 1676 return index; |
| 1677 } | 1677 } |
| 1678 } | 1678 } |
| 1679 dart.setSignature(_ListIndicesIterable, { | 1679 dart.setSignature(_ListIndicesIterable, { |
| 1680 methods: () => ({[core.$elementAt]: dart.functionType(core.int, [core.int])}
) | 1680 methods: () => ({[core.$elementAt]: [core.int, [core.int]]}) |
| 1681 }); | 1681 }); |
| 1682 let _values = dart.JsSymbol('_values'); | 1682 let _values = dart.JsSymbol('_values'); |
| 1683 let ListMapView$ = dart.generic(function(E) { | 1683 let ListMapView$ = dart.generic(function(E) { |
| 1684 class ListMapView extends core.Object { | 1684 class ListMapView extends core.Object { |
| 1685 ListMapView(values) { | 1685 ListMapView(values) { |
| 1686 this[_values] = values; | 1686 this[_values] = values; |
| 1687 } | 1687 } |
| 1688 get(key) { | 1688 get(key) { |
| 1689 return this.containsKey(key) ? this[_values][core.$get](key) : null; | 1689 return this.containsKey(key) ? this[_values][core.$get](key) : null; |
| 1690 } | 1690 } |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1737 dart.as(other, core.Map$(core.int, E)); | 1737 dart.as(other, core.Map$(core.int, E)); |
| 1738 throw new core.UnsupportedError("Cannot modify an unmodifiable map"); | 1738 throw new core.UnsupportedError("Cannot modify an unmodifiable map"); |
| 1739 } | 1739 } |
| 1740 toString() { | 1740 toString() { |
| 1741 return collection.Maps.mapToString(this); | 1741 return collection.Maps.mapToString(this); |
| 1742 } | 1742 } |
| 1743 } | 1743 } |
| 1744 ListMapView[dart.implements] = () => [core.Map$(core.int, E)]; | 1744 ListMapView[dart.implements] = () => [core.Map$(core.int, E)]; |
| 1745 dart.setSignature(ListMapView, { | 1745 dart.setSignature(ListMapView, { |
| 1746 methods: () => ({ | 1746 methods: () => ({ |
| 1747 get: dart.functionType(E, [core.Object]), | 1747 get: [E, [core.Object]], |
| 1748 containsValue: dart.functionType(core.bool, [core.Object]), | 1748 containsValue: [core.bool, [core.Object]], |
| 1749 containsKey: dart.functionType(core.bool, [core.Object]), | 1749 containsKey: [core.bool, [core.Object]], |
| 1750 forEach: dart.functionType(dart.void, [dart.functionType(dart.void, [cor
e.int, E])]), | 1750 forEach: [dart.void, [dart.functionType(dart.void, [core.int, E])]], |
| 1751 set: dart.functionType(dart.void, [core.int, E]), | 1751 set: [dart.void, [core.int, E]], |
| 1752 putIfAbsent: dart.functionType(E, [core.int, dart.functionType(E, [])]), | 1752 putIfAbsent: [E, [core.int, dart.functionType(E, [])]], |
| 1753 remove: dart.functionType(E, [core.Object]), | 1753 remove: [E, [core.Object]], |
| 1754 clear: dart.functionType(dart.void, []), | 1754 clear: [dart.void, []], |
| 1755 addAll: dart.functionType(dart.void, [core.Map$(core.int, E)]), | 1755 addAll: [dart.void, [core.Map$(core.int, E)]], |
| 1756 toString: dart.functionType(core.String, []) | 1756 toString: [core.String, []] |
| 1757 }) | 1757 }) |
| 1758 }); | 1758 }); |
| 1759 return ListMapView; | 1759 return ListMapView; |
| 1760 }); | 1760 }); |
| 1761 let ListMapView = ListMapView$(); | 1761 let ListMapView = ListMapView$(); |
| 1762 let ReversedListIterable$ = dart.generic(function(E) { | 1762 let ReversedListIterable$ = dart.generic(function(E) { |
| 1763 class ReversedListIterable extends ListIterable$(E) { | 1763 class ReversedListIterable extends ListIterable$(E) { |
| 1764 ReversedListIterable(source) { | 1764 ReversedListIterable(source) { |
| 1765 this[_source] = source; | 1765 this[_source] = source; |
| 1766 super.ListIterable(); | 1766 super.ListIterable(); |
| 1767 } | 1767 } |
| 1768 get [core.$length]() { | 1768 get [core.$length]() { |
| 1769 return this[_source][core.$length]; | 1769 return this[_source][core.$length]; |
| 1770 } | 1770 } |
| 1771 [core.$elementAt](index) { | 1771 [core.$elementAt](index) { |
| 1772 return this[_source][core.$elementAt](dart.notNull(this[_source][core.$l
ength]) - 1 - dart.notNull(index)); | 1772 return this[_source][core.$elementAt](dart.notNull(this[_source][core.$l
ength]) - 1 - dart.notNull(index)); |
| 1773 } | 1773 } |
| 1774 } | 1774 } |
| 1775 dart.setSignature(ReversedListIterable, { | 1775 dart.setSignature(ReversedListIterable, { |
| 1776 methods: () => ({[core.$elementAt]: dart.functionType(E, [core.int])}) | 1776 methods: () => ({[core.$elementAt]: [E, [core.int]]}) |
| 1777 }); | 1777 }); |
| 1778 return ReversedListIterable; | 1778 return ReversedListIterable; |
| 1779 }); | 1779 }); |
| 1780 let ReversedListIterable = ReversedListIterable$(); | 1780 let ReversedListIterable = ReversedListIterable$(); |
| 1781 class UnmodifiableListError extends core.Object { | 1781 class UnmodifiableListError extends core.Object { |
| 1782 static add() { | 1782 static add() { |
| 1783 return new core.UnsupportedError("Cannot add to unmodifiable List"); | 1783 return new core.UnsupportedError("Cannot add to unmodifiable List"); |
| 1784 } | 1784 } |
| 1785 static change() { | 1785 static change() { |
| 1786 return new core.UnsupportedError("Cannot change the content of an unmodifi
able List"); | 1786 return new core.UnsupportedError("Cannot change the content of an unmodifi
able List"); |
| 1787 } | 1787 } |
| 1788 static length() { | 1788 static length() { |
| 1789 return new core.UnsupportedError("Cannot change length of unmodifiable Lis
t"); | 1789 return new core.UnsupportedError("Cannot change length of unmodifiable Lis
t"); |
| 1790 } | 1790 } |
| 1791 static remove() { | 1791 static remove() { |
| 1792 return new core.UnsupportedError("Cannot remove from unmodifiable List"); | 1792 return new core.UnsupportedError("Cannot remove from unmodifiable List"); |
| 1793 } | 1793 } |
| 1794 } | 1794 } |
| 1795 dart.setSignature(UnmodifiableListError, { | 1795 dart.setSignature(UnmodifiableListError, { |
| 1796 statics: () => ({ | 1796 statics: () => ({ |
| 1797 add: dart.functionType(core.UnsupportedError, []), | 1797 add: [core.UnsupportedError, []], |
| 1798 change: dart.functionType(core.UnsupportedError, []), | 1798 change: [core.UnsupportedError, []], |
| 1799 length: dart.functionType(core.UnsupportedError, []), | 1799 length: [core.UnsupportedError, []], |
| 1800 remove: dart.functionType(core.UnsupportedError, []) | 1800 remove: [core.UnsupportedError, []] |
| 1801 }), | 1801 }), |
| 1802 names: ['add', 'change', 'length', 'remove'] | 1802 names: ['add', 'change', 'length', 'remove'] |
| 1803 }); | 1803 }); |
| 1804 class NonGrowableListError extends core.Object { | 1804 class NonGrowableListError extends core.Object { |
| 1805 static add() { | 1805 static add() { |
| 1806 return new core.UnsupportedError("Cannot add to non-growable List"); | 1806 return new core.UnsupportedError("Cannot add to non-growable List"); |
| 1807 } | 1807 } |
| 1808 static length() { | 1808 static length() { |
| 1809 return new core.UnsupportedError("Cannot change length of non-growable Lis
t"); | 1809 return new core.UnsupportedError("Cannot change length of non-growable Lis
t"); |
| 1810 } | 1810 } |
| 1811 static remove() { | 1811 static remove() { |
| 1812 return new core.UnsupportedError("Cannot remove from non-growable List"); | 1812 return new core.UnsupportedError("Cannot remove from non-growable List"); |
| 1813 } | 1813 } |
| 1814 } | 1814 } |
| 1815 dart.setSignature(NonGrowableListError, { | 1815 dart.setSignature(NonGrowableListError, { |
| 1816 statics: () => ({ | 1816 statics: () => ({ |
| 1817 add: dart.functionType(core.UnsupportedError, []), | 1817 add: [core.UnsupportedError, []], |
| 1818 length: dart.functionType(core.UnsupportedError, []), | 1818 length: [core.UnsupportedError, []], |
| 1819 remove: dart.functionType(core.UnsupportedError, []) | 1819 remove: [core.UnsupportedError, []] |
| 1820 }), | 1820 }), |
| 1821 names: ['add', 'length', 'remove'] | 1821 names: ['add', 'length', 'remove'] |
| 1822 }); | 1822 }); |
| 1823 function makeListFixedLength(growableList) { | 1823 function makeListFixedLength(growableList) { |
| 1824 _interceptors.JSArray.markFixedList(growableList); | 1824 _interceptors.JSArray.markFixedList(growableList); |
| 1825 return growableList; | 1825 return growableList; |
| 1826 } | 1826 } |
| 1827 dart.fn(makeListFixedLength, core.List, [core.List]); | 1827 dart.fn(makeListFixedLength, core.List, [core.List]); |
| 1828 class Lists extends core.Object { | 1828 class Lists extends core.Object { |
| 1829 static copy(src, srcStart, dst, dstStart, count) { | 1829 static copy(src, srcStart, dst, dstStart, count) { |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1886 core.RangeError.checkNotNegative(length); | 1886 core.RangeError.checkNotNegative(length); |
| 1887 core.RangeError.checkNotNegative(start); | 1887 core.RangeError.checkNotNegative(start); |
| 1888 if (dart.notNull(start) + dart.notNull(length) > dart.notNull(a[core.$leng
th])) { | 1888 if (dart.notNull(start) + dart.notNull(length) > dart.notNull(a[core.$leng
th])) { |
| 1889 let message = `${start} + ${length} must be in the range [0..${a[core.$l
ength]}]`; | 1889 let message = `${start} + ${length} must be in the range [0..${a[core.$l
ength]}]`; |
| 1890 throw new core.RangeError.range(length, 0, dart.notNull(a[core.$length])
- dart.notNull(start), "length", message); | 1890 throw new core.RangeError.range(length, 0, dart.notNull(a[core.$length])
- dart.notNull(start), "length", message); |
| 1891 } | 1891 } |
| 1892 } | 1892 } |
| 1893 } | 1893 } |
| 1894 dart.setSignature(Lists, { | 1894 dart.setSignature(Lists, { |
| 1895 statics: () => ({ | 1895 statics: () => ({ |
| 1896 copy: dart.functionType(dart.void, [core.List, core.int, core.List, core.i
nt, core.int]), | 1896 copy: [dart.void, [core.List, core.int, core.List, core.int, core.int]], |
| 1897 areEqual: dart.functionType(core.bool, [core.List, dart.dynamic]), | 1897 areEqual: [core.bool, [core.List, dart.dynamic]], |
| 1898 indexOf: dart.functionType(core.int, [core.List, core.Object, core.int, co
re.int]), | 1898 indexOf: [core.int, [core.List, core.Object, core.int, core.int]], |
| 1899 lastIndexOf: dart.functionType(core.int, [core.List, core.Object, core.int
]), | 1899 lastIndexOf: [core.int, [core.List, core.Object, core.int]], |
| 1900 indicesCheck: dart.functionType(dart.void, [core.List, core.int, core.int]
), | 1900 indicesCheck: [dart.void, [core.List, core.int, core.int]], |
| 1901 rangeCheck: dart.functionType(dart.void, [core.List, core.int, core.int]) | 1901 rangeCheck: [dart.void, [core.List, core.int, core.int]] |
| 1902 }), | 1902 }), |
| 1903 names: ['copy', 'areEqual', 'indexOf', 'lastIndexOf', 'indicesCheck', 'range
Check'] | 1903 names: ['copy', 'areEqual', 'indexOf', 'lastIndexOf', 'indicesCheck', 'range
Check'] |
| 1904 }); | 1904 }); |
| 1905 exports.printToZone = null; | 1905 exports.printToZone = null; |
| 1906 function printToConsole(line) { | 1906 function printToConsole(line) { |
| 1907 _js_primitives.printString(`${line}`); | 1907 _js_primitives.printString(`${line}`); |
| 1908 } | 1908 } |
| 1909 dart.fn(printToConsole, dart.void, [core.String]); | 1909 dart.fn(printToConsole, dart.void, [core.String]); |
| 1910 class Sort extends core.Object { | 1910 class Sort extends core.Object { |
| 1911 static sort(a, compare) { | 1911 static sort(a, compare) { |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2160 } | 2160 } |
| 2161 } | 2161 } |
| 2162 Sort._doSort(a, less, great, compare); | 2162 Sort._doSort(a, less, great, compare); |
| 2163 } else { | 2163 } else { |
| 2164 Sort._doSort(a, less, great, compare); | 2164 Sort._doSort(a, less, great, compare); |
| 2165 } | 2165 } |
| 2166 } | 2166 } |
| 2167 } | 2167 } |
| 2168 dart.setSignature(Sort, { | 2168 dart.setSignature(Sort, { |
| 2169 statics: () => ({ | 2169 statics: () => ({ |
| 2170 sort: dart.functionType(dart.void, [core.List, dart.functionType(core.int,
[dart.dynamic, dart.dynamic])]), | 2170 sort: [dart.void, [core.List, dart.functionType(core.int, [dart.dynamic, d
art.dynamic])]], |
| 2171 sortRange: dart.functionType(dart.void, [core.List, core.int, core.int, da
rt.functionType(core.int, [dart.dynamic, dart.dynamic])]), | 2171 sortRange: [dart.void, [core.List, core.int, core.int, dart.functionType(c
ore.int, [dart.dynamic, dart.dynamic])]], |
| 2172 _doSort: dart.functionType(dart.void, [core.List, core.int, core.int, dart
.functionType(core.int, [dart.dynamic, dart.dynamic])]), | 2172 _doSort: [dart.void, [core.List, core.int, core.int, dart.functionType(cor
e.int, [dart.dynamic, dart.dynamic])]], |
| 2173 _insertionSort: dart.functionType(dart.void, [core.List, core.int, core.in
t, dart.functionType(core.int, [dart.dynamic, dart.dynamic])]), | 2173 _insertionSort: [dart.void, [core.List, core.int, core.int, dart.functionT
ype(core.int, [dart.dynamic, dart.dynamic])]], |
| 2174 _dualPivotQuicksort: dart.functionType(dart.void, [core.List, core.int, co
re.int, dart.functionType(core.int, [dart.dynamic, dart.dynamic])]) | 2174 _dualPivotQuicksort: [dart.void, [core.List, core.int, core.int, dart.func
tionType(core.int, [dart.dynamic, dart.dynamic])]] |
| 2175 }), | 2175 }), |
| 2176 names: ['sort', 'sortRange', '_doSort', '_insertionSort', '_dualPivotQuickso
rt'] | 2176 names: ['sort', 'sortRange', '_doSort', '_insertionSort', '_dualPivotQuickso
rt'] |
| 2177 }); | 2177 }); |
| 2178 Sort._INSERTION_SORT_THRESHOLD = 32; | 2178 Sort._INSERTION_SORT_THRESHOLD = 32; |
| 2179 let _name = dart.JsSymbol('_name'); | 2179 let _name = dart.JsSymbol('_name'); |
| 2180 class Symbol extends core.Object { | 2180 class Symbol extends core.Object { |
| 2181 Symbol(name) { | 2181 Symbol(name) { |
| 2182 this[_name] = name; | 2182 this[_name] = name; |
| 2183 } | 2183 } |
| 2184 unvalidated(name) { | 2184 unvalidated(name) { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 2210 } | 2210 } |
| 2211 static isValidSymbol(name) { | 2211 static isValidSymbol(name) { |
| 2212 return dart.notNull(name.isEmpty) || dart.notNull(Symbol.symbolPattern.has
Match(name)); | 2212 return dart.notNull(name.isEmpty) || dart.notNull(Symbol.symbolPattern.has
Match(name)); |
| 2213 } | 2213 } |
| 2214 } | 2214 } |
| 2215 Symbol[dart.implements] = () => [core.Symbol]; | 2215 Symbol[dart.implements] = () => [core.Symbol]; |
| 2216 dart.defineNamedConstructor(Symbol, 'unvalidated'); | 2216 dart.defineNamedConstructor(Symbol, 'unvalidated'); |
| 2217 dart.defineNamedConstructor(Symbol, 'validated'); | 2217 dart.defineNamedConstructor(Symbol, 'validated'); |
| 2218 dart.setSignature(Symbol, { | 2218 dart.setSignature(Symbol, { |
| 2219 methods: () => ({ | 2219 methods: () => ({ |
| 2220 '==': dart.functionType(core.bool, [core.Object]), | 2220 '==': [core.bool, [core.Object]], |
| 2221 toString: dart.functionType(core.String, []) | 2221 toString: [core.String, []] |
| 2222 }), | 2222 }), |
| 2223 statics: () => ({ | 2223 statics: () => ({ |
| 2224 getName: dart.functionType(core.String, [Symbol]), | 2224 getName: [core.String, [Symbol]], |
| 2225 validatePublicSymbol: dart.functionType(core.String, [core.String]), | 2225 validatePublicSymbol: [core.String, [core.String]], |
| 2226 isValidSymbol: dart.functionType(core.bool, [core.String]) | 2226 isValidSymbol: [core.bool, [core.String]] |
| 2227 }), | 2227 }), |
| 2228 names: ['getName', 'validatePublicSymbol', 'isValidSymbol'] | 2228 names: ['getName', 'validatePublicSymbol', 'isValidSymbol'] |
| 2229 }); | 2229 }); |
| 2230 Symbol.reservedWordRE = '(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|
d(?:efault|o)|' + 'e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ul
l)|' + 'ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|' + 'v(?:ar|o
id)|w(?:hile|ith))'; | 2230 Symbol.reservedWordRE = '(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|
d(?:efault|o)|' + 'e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ul
l)|' + 'ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|' + 'v(?:ar|o
id)|w(?:hile|ith))'; |
| 2231 Symbol.publicIdentifierRE = '(?!' + `${Symbol.reservedWordRE}` + '\\b(?!\\$))[
a-zA-Z$][\\w$]*'; | 2231 Symbol.publicIdentifierRE = '(?!' + `${Symbol.reservedWordRE}` + '\\b(?!\\$))[
a-zA-Z$][\\w$]*'; |
| 2232 Symbol.identifierRE = '(?!' + `${Symbol.reservedWordRE}` + '\\b(?!\\$))[a-zA-Z
$_][\\w$]*'; | 2232 Symbol.identifierRE = '(?!' + `${Symbol.reservedWordRE}` + '\\b(?!\\$))[a-zA-Z
$_][\\w$]*'; |
| 2233 Symbol.operatorRE = '(?:[\\-+*/%&|^]|\\[\\]=?|==|~/?|<[<=]?|>[>=]?|unary-)'; | 2233 Symbol.operatorRE = '(?:[\\-+*/%&|^]|\\[\\]=?|==|~/?|<[<=]?|>[>=]?|unary-)'; |
| 2234 let POWERS_OF_TEN = dart.const([1.0, 10.0, 100.0, 1000.0, 10000.0, 100000.0, 1
000000.0, 10000000.0, 100000000.0, 1000000000.0, 10000000000.0, 100000000000.0,
1000000000000.0, 10000000000000.0, 100000000000000.0, 1000000000000000.0, 100000
00000000000.0, 100000000000000000.0, 1000000000000000000.0, 10000000000000000000
.0, 100000000000000000000.0, 1e+21, 1e+22]); | 2234 let POWERS_OF_TEN = dart.const([1.0, 10.0, 100.0, 1000.0, 10000.0, 100000.0, 1
000000.0, 10000000.0, 100000000.0, 1000000000.0, 10000000000.0, 100000000000.0,
1000000000000.0, 10000000000000.0, 100000000000000.0, 1000000000000000.0, 100000
00000000000.0, 100000000000000000.0, 1000000000000000000.0, 10000000000000000000
.0, 100000000000000000000.0, 1e+21, 1e+22]); |
| 2235 dart.defineLazyProperties(Symbol, { | 2235 dart.defineLazyProperties(Symbol, { |
| 2236 get publicSymbolPattern() { | 2236 get publicSymbolPattern() { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2307 exports.ReversedListIterable = ReversedListIterable; | 2307 exports.ReversedListIterable = ReversedListIterable; |
| 2308 exports.UnmodifiableListError = UnmodifiableListError; | 2308 exports.UnmodifiableListError = UnmodifiableListError; |
| 2309 exports.NonGrowableListError = NonGrowableListError; | 2309 exports.NonGrowableListError = NonGrowableListError; |
| 2310 exports.makeListFixedLength = makeListFixedLength; | 2310 exports.makeListFixedLength = makeListFixedLength; |
| 2311 exports.Lists = Lists; | 2311 exports.Lists = Lists; |
| 2312 exports.printToConsole = printToConsole; | 2312 exports.printToConsole = printToConsole; |
| 2313 exports.Sort = Sort; | 2313 exports.Sort = Sort; |
| 2314 exports.Symbol = Symbol; | 2314 exports.Symbol = Symbol; |
| 2315 exports.POWERS_OF_TEN = POWERS_OF_TEN; | 2315 exports.POWERS_OF_TEN = POWERS_OF_TEN; |
| 2316 })(_internal, core, collection, math, _interceptors, _js_primitives); | 2316 })(_internal, core, collection, math, _interceptors, _js_primitives); |
| OLD | NEW |