OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 part of "dart:_interceptors"; | 5 part of "interceptors.dart"; |
6 | 6 |
7 class _Growable { | 7 class _Growable { |
8 const _Growable(); | 8 const _Growable(); |
9 } | 9 } |
10 | 10 |
11 const _ListConstructorSentinel = const _Growable(); | 11 const _ListConstructorSentinel = const _Growable(); |
12 | 12 |
13 /** | 13 /** |
14 * The interceptor class for [List]. The compiler recognizes this | 14 * The interceptor class for [List]. The compiler recognizes this |
15 * class as an interceptor, and changes references to [:this:] to | 15 * class as an interceptor, and changes references to [:this:] to |
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 | 674 |
675 if (_index >= length) { | 675 if (_index >= length) { |
676 _current = null; | 676 _current = null; |
677 return false; | 677 return false; |
678 } | 678 } |
679 _current = _iterable[_index]; | 679 _current = _iterable[_index]; |
680 _index++; | 680 _index++; |
681 return true; | 681 return true; |
682 } | 682 } |
683 } | 683 } |
OLD | NEW |