OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 dart2js.resolution.registry; | 5 library dart2js.resolution.registry; |
6 | 6 |
7 import '../common/backend_api.dart' show | 7 import '../common/backend_api.dart' show |
8 Backend; | 8 Backend; |
9 import '../common/registry.dart' show | 9 import '../common/registry.dart' show |
10 Registry; | 10 Registry; |
11 import '../compiler.dart' show | 11 import '../compiler.dart' show |
12 Compiler, | 12 Compiler; |
13 isPrivateName; | |
14 import '../constants/expressions.dart'; | 13 import '../constants/expressions.dart'; |
15 import '../dart_types.dart'; | 14 import '../dart_types.dart'; |
16 import '../diagnostics/invariant.dart' show | 15 import '../diagnostics/invariant.dart' show |
17 invariant; | 16 invariant; |
18 import '../enqueue.dart' show | 17 import '../enqueue.dart' show |
19 ResolutionEnqueuer, | 18 ResolutionEnqueuer, |
20 WorldImpact; | 19 WorldImpact; |
21 import '../elements/elements.dart'; | 20 import '../elements/elements.dart'; |
22 import '../tree/tree.dart'; | 21 import '../tree/tree.dart'; |
23 import '../util/util.dart' show | 22 import '../util/util.dart' show |
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
604 } | 603 } |
605 | 604 |
606 void registerAsyncMarker(FunctionElement element) { | 605 void registerAsyncMarker(FunctionElement element) { |
607 backend.registerAsyncMarker(element, world, this); | 606 backend.registerAsyncMarker(element, world, this); |
608 } | 607 } |
609 | 608 |
610 void registerAsyncForIn(AsyncForIn node) { | 609 void registerAsyncForIn(AsyncForIn node) { |
611 backend.resolutionCallbacks.onAsyncForIn(node, this); | 610 backend.resolutionCallbacks.onAsyncForIn(node, this); |
612 } | 611 } |
613 } | 612 } |
OLD | NEW |