Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Side by Side Diff: sdk/lib/_internal/compiler/js_lib/js_helper.dart

Issue 1154263003: Revert "Make EfficientLength public, as EfficientLengthIterable." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 JS_GET_NAME, 57 JS_GET_NAME,
58 JS_HAS_EQUALS, 58 JS_HAS_EQUALS,
59 JS_IS_INDEXABLE_FIELD_NAME, 59 JS_IS_INDEXABLE_FIELD_NAME,
60 JS_OPERATOR_AS_PREFIX, 60 JS_OPERATOR_AS_PREFIX,
61 JS_SIGNATURE_NAME, 61 JS_SIGNATURE_NAME,
62 JS_STRING_CONCAT, 62 JS_STRING_CONCAT,
63 RAW_DART_FUNCTION_REF; 63 RAW_DART_FUNCTION_REF;
64 64
65 import 'dart:_interceptors'; 65 import 'dart:_interceptors';
66 import 'dart:_internal' as _symbol_dev; 66 import 'dart:_internal' as _symbol_dev;
67 import 'dart:_internal' show MappedIterable; 67 import 'dart:_internal' show EfficientLength, MappedIterable;
68 68
69 import 'dart:_native_typed_data'; 69 import 'dart:_native_typed_data';
70 70
71 import 'dart:_js_names' show 71 import 'dart:_js_names' show
72 extractKeys, 72 extractKeys,
73 mangledNames, 73 mangledNames,
74 unmangleGlobalNameIfPreservedAnyways, 74 unmangleGlobalNameIfPreservedAnyways,
75 unmangleAllIdentifiersIfPreservedAnyways; 75 unmangleAllIdentifiersIfPreservedAnyways;
76 76
77 part 'annotations.dart'; 77 part 'annotations.dart';
(...skipping 4011 matching lines...) Expand 10 before | Expand all | Expand 10 after
4089 // This is a function that will return a helper function that does the 4089 // This is a function that will return a helper function that does the
4090 // iteration of the sync*. 4090 // iteration of the sync*.
4091 // 4091 //
4092 // Each invocation should give a body with fresh state. 4092 // Each invocation should give a body with fresh state.
4093 final dynamic /* js function */ _outerHelper; 4093 final dynamic /* js function */ _outerHelper;
4094 4094
4095 SyncStarIterable(this._outerHelper); 4095 SyncStarIterable(this._outerHelper);
4096 4096
4097 Iterator get iterator => new SyncStarIterator(JS('', '#()', _outerHelper)); 4097 Iterator get iterator => new SyncStarIterator(JS('', '#()', _outerHelper));
4098 } 4098 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/js_lib/js_array.dart ('k') | sdk/lib/_internal/compiler/js_lib/linked_hash_map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698