| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 library _js_helper; | 5 library _js_helper; |
| 6 | 6 |
| 7 import 'dart:_async_await_error_codes' as async_error_codes; | 7 import 'dart:_async_await_error_codes' as async_error_codes; |
| 8 | 8 |
| 9 import 'dart:_js_embedded_names' show | 9 import 'dart:_js_embedded_names' show |
| 10 DEFERRED_LIBRARY_URIS, | 10 DEFERRED_LIBRARY_URIS, |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 JS_NULL_CLASS_NAME, | 62 JS_NULL_CLASS_NAME, |
| 63 JS_OBJECT_CLASS_NAME, | 63 JS_OBJECT_CLASS_NAME, |
| 64 JS_OPERATOR_AS_PREFIX, | 64 JS_OPERATOR_AS_PREFIX, |
| 65 JS_OPERATOR_IS_PREFIX, | 65 JS_OPERATOR_IS_PREFIX, |
| 66 JS_SIGNATURE_NAME, | 66 JS_SIGNATURE_NAME, |
| 67 JS_STRING_CONCAT, | 67 JS_STRING_CONCAT, |
| 68 RAW_DART_FUNCTION_REF; | 68 RAW_DART_FUNCTION_REF; |
| 69 | 69 |
| 70 import 'dart:_interceptors'; | 70 import 'dart:_interceptors'; |
| 71 import 'dart:_internal' as _symbol_dev; | 71 import 'dart:_internal' as _symbol_dev; |
| 72 import 'dart:_internal' show EfficientLength, MappedIterable; | 72 import 'dart:_internal' show MappedIterable; |
| 73 | 73 |
| 74 import 'dart:_native_typed_data'; | 74 import 'dart:_native_typed_data'; |
| 75 | 75 |
| 76 import 'dart:_js_names' show | 76 import 'dart:_js_names' show |
| 77 extractKeys, | 77 extractKeys, |
| 78 mangledNames, | 78 mangledNames, |
| 79 unmangleGlobalNameIfPreservedAnyways, | 79 unmangleGlobalNameIfPreservedAnyways, |
| 80 unmangleAllIdentifiersIfPreservedAnyways; | 80 unmangleAllIdentifiersIfPreservedAnyways; |
| 81 | 81 |
| 82 part 'annotations.dart'; | 82 part 'annotations.dart'; |
| (...skipping 3962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4045 // This is a function that will return a helper function that does the | 4045 // This is a function that will return a helper function that does the |
| 4046 // iteration of the sync*. | 4046 // iteration of the sync*. |
| 4047 // | 4047 // |
| 4048 // Each invocation should give a body with fresh state. | 4048 // Each invocation should give a body with fresh state. |
| 4049 final dynamic /* js function */ _outerHelper; | 4049 final dynamic /* js function */ _outerHelper; |
| 4050 | 4050 |
| 4051 SyncStarIterable(this._outerHelper); | 4051 SyncStarIterable(this._outerHelper); |
| 4052 | 4052 |
| 4053 Iterator get iterator => new SyncStarIterator(JS('', '#()', _outerHelper)); | 4053 Iterator get iterator => new SyncStarIterator(JS('', '#()', _outerHelper)); |
| 4054 } | 4054 } |
| OLD | NEW |