OLD | NEW |
1 var collection; | 1 var collection; |
2 (function(exports) { | 2 (function(exports) { |
3 'use strict'; | 3 'use strict'; |
4 let _source = Symbol('_source'); | 4 let _source = Symbol('_source'); |
5 let UnmodifiableListView$ = dart.generic(function(E) { | 5 let UnmodifiableListView$ = dart.generic(function(E) { |
6 class UnmodifiableListView extends _internal.UnmodifiableListBase$(E) { | 6 class UnmodifiableListView extends _internal.UnmodifiableListBase$(E) { |
7 UnmodifiableListView(source) { | 7 UnmodifiableListView(source) { |
8 this[_source] = source; | 8 this[_source] = source; |
9 super.UnmodifiableListBase(); | |
10 } | 9 } |
11 get [core.$length]() { | 10 get [core.$length]() { |
12 return this[_source][core.$length]; | 11 return this[_source][core.$length]; |
13 } | 12 } |
14 [core.$get](index) { | 13 [core.$get](index) { |
15 return this[_source][core.$elementAt](index); | 14 return this[_source][core.$elementAt](index); |
16 } | 15 } |
17 } | 16 } |
18 return UnmodifiableListView; | 17 return UnmodifiableListView; |
19 }); | 18 }); |
(...skipping 4209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4229 let _contains = Symbol('_contains'); | 4228 let _contains = Symbol('_contains'); |
4230 let _lookup = Symbol('_lookup'); | 4229 let _lookup = Symbol('_lookup'); |
4231 let _HashSet$ = dart.generic(function(E) { | 4230 let _HashSet$ = dart.generic(function(E) { |
4232 class _HashSet extends _HashSetBase$(E) { | 4231 class _HashSet extends _HashSetBase$(E) { |
4233 _HashSet() { | 4232 _HashSet() { |
4234 this[_length] = 0; | 4233 this[_length] = 0; |
4235 this[_strings] = null; | 4234 this[_strings] = null; |
4236 this[_nums] = null; | 4235 this[_nums] = null; |
4237 this[_rest] = null; | 4236 this[_rest] = null; |
4238 this[_elements] = null; | 4237 this[_elements] = null; |
4239 super._HashSetBase(); | |
4240 } | 4238 } |
4241 [_newSet]() { | 4239 [_newSet]() { |
4242 return new (_HashSet$(E))(); | 4240 return new (_HashSet$(E))(); |
4243 } | 4241 } |
4244 get [core.$iterator]() { | 4242 get [core.$iterator]() { |
4245 return new (HashSetIterator$(E))(this, this[_computeElements]()); | 4243 return new (HashSetIterator$(E))(this, this[_computeElements]()); |
4246 } | 4244 } |
4247 get [core.$length]() { | 4245 get [core.$length]() { |
4248 return this[_length]; | 4246 return this[_length]; |
4249 } | 4247 } |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4563 let _LinkedHashSet$ = dart.generic(function(E) { | 4561 let _LinkedHashSet$ = dart.generic(function(E) { |
4564 class _LinkedHashSet extends _HashSetBase$(E) { | 4562 class _LinkedHashSet extends _HashSetBase$(E) { |
4565 _LinkedHashSet() { | 4563 _LinkedHashSet() { |
4566 this[_length] = 0; | 4564 this[_length] = 0; |
4567 this[_strings] = null; | 4565 this[_strings] = null; |
4568 this[_nums] = null; | 4566 this[_nums] = null; |
4569 this[_rest] = null; | 4567 this[_rest] = null; |
4570 this[_first] = null; | 4568 this[_first] = null; |
4571 this[_last] = null; | 4569 this[_last] = null; |
4572 this[_modifications] = 0; | 4570 this[_modifications] = 0; |
4573 super._HashSetBase(); | |
4574 } | 4571 } |
4575 [_newSet]() { | 4572 [_newSet]() { |
4576 return new (_LinkedHashSet$(E))(); | 4573 return new (_LinkedHashSet$(E))(); |
4577 } | 4574 } |
4578 [_unsupported](operation) { | 4575 [_unsupported](operation) { |
4579 throw `LinkedHashSet: unsupported ${operation}`; | 4576 throw `LinkedHashSet: unsupported ${operation}`; |
4580 } | 4577 } |
4581 get [core.$iterator]() { | 4578 get [core.$iterator]() { |
4582 return new (LinkedHashSetIterator$(E))(this, this[_modifications]); | 4579 return new (LinkedHashSetIterator$(E))(this, this[_modifications]); |
4583 } | 4580 } |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5010 exports.LinkedHashMapKeyIterable$ = LinkedHashMapKeyIterable$; | 5007 exports.LinkedHashMapKeyIterable$ = LinkedHashMapKeyIterable$; |
5011 exports.LinkedHashMapKeyIterable = LinkedHashMapKeyIterable; | 5008 exports.LinkedHashMapKeyIterable = LinkedHashMapKeyIterable; |
5012 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$; | 5009 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$; |
5013 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator; | 5010 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator; |
5014 exports.HashSetIterator$ = HashSetIterator$; | 5011 exports.HashSetIterator$ = HashSetIterator$; |
5015 exports.HashSetIterator = HashSetIterator; | 5012 exports.HashSetIterator = HashSetIterator; |
5016 exports.LinkedHashSetCell = LinkedHashSetCell; | 5013 exports.LinkedHashSetCell = LinkedHashSetCell; |
5017 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$; | 5014 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$; |
5018 exports.LinkedHashSetIterator = LinkedHashSetIterator; | 5015 exports.LinkedHashSetIterator = LinkedHashSetIterator; |
5019 })(collection || (collection = {})); | 5016 })(collection || (collection = {})); |
OLD | NEW |