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

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

Issue 1158423005: Move IS_INDEXABLE_FIELD to JsGetName. (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 30 matching lines...) Expand all
41 import 'dart:_foreign_helper' show 41 import 'dart:_foreign_helper' show
42 DART_CLOSURE_TO_JS, 42 DART_CLOSURE_TO_JS,
43 JS, 43 JS,
44 JS_BUILTIN, 44 JS_BUILTIN,
45 JS_CALL_IN_ISOLATE, 45 JS_CALL_IN_ISOLATE,
46 JS_CONST, 46 JS_CONST,
47 JS_CURRENT_ISOLATE, 47 JS_CURRENT_ISOLATE,
48 JS_CURRENT_ISOLATE_CONTEXT, 48 JS_CURRENT_ISOLATE_CONTEXT,
49 JS_EFFECT, 49 JS_EFFECT,
50 JS_EMBEDDED_GLOBAL, 50 JS_EMBEDDED_GLOBAL,
51 JS_FUNCTION_TYPE_NAMED_PARAMETERS_TAG,
52 JS_FUNCTION_TYPE_OPTIONAL_PARAMETERS_TAG,
53 JS_FUNCTION_TYPE_REQUIRED_PARAMETERS_TAG,
54 JS_FUNCTION_TYPE_RETURN_TYPE_TAG,
55 JS_FUNCTION_TYPE_VOID_RETURN_TAG,
56 JS_GET_FLAG, 51 JS_GET_FLAG,
57 JS_GET_NAME, 52 JS_GET_NAME,
58 JS_HAS_EQUALS, 53 JS_HAS_EQUALS,
59 JS_IS_INDEXABLE_FIELD_NAME,
60 JS_OPERATOR_AS_PREFIX,
61 JS_SIGNATURE_NAME,
62 JS_STRING_CONCAT, 54 JS_STRING_CONCAT,
63 RAW_DART_FUNCTION_REF; 55 RAW_DART_FUNCTION_REF;
64 56
65 import 'dart:_interceptors'; 57 import 'dart:_interceptors';
66 import 'dart:_internal' as _symbol_dev; 58 import 'dart:_internal' as _symbol_dev;
67 import 'dart:_internal' show EfficientLength, MappedIterable; 59 import 'dart:_internal' show EfficientLength, MappedIterable;
68 60
69 import 'dart:_native_typed_data'; 61 import 'dart:_native_typed_data';
70 62
71 import 'dart:_js_names' show 63 import 'dart:_js_names' show
(...skipping 4024 matching lines...) Expand 10 before | Expand all | Expand 10 after
4096 // This is a function that will return a helper function that does the 4088 // This is a function that will return a helper function that does the
4097 // iteration of the sync*. 4089 // iteration of the sync*.
4098 // 4090 //
4099 // Each invocation should give a body with fresh state. 4091 // Each invocation should give a body with fresh state.
4100 final dynamic /* js function */ _outerHelper; 4092 final dynamic /* js function */ _outerHelper;
4101 4093
4102 SyncStarIterable(this._outerHelper); 4094 SyncStarIterable(this._outerHelper);
4103 4095
4104 Iterator get iterator => new SyncStarIterator(JS('', '#()', _outerHelper)); 4096 Iterator get iterator => new SyncStarIterator(JS('', '#()', _outerHelper));
4105 } 4097 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/js_lib/foreign_helper.dart ('k') | sdk/lib/_internal/compiler/js_lib/native_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698