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 library dart2js.enqueue; | 5 library dart2js.enqueue; |
6 | 6 |
7 import 'dart:collection' show | 7 import 'dart:collection' show |
8 Queue; | 8 Queue; |
9 | 9 |
10 import 'common/names.dart' show | 10 import 'common/names.dart' show |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 TypedElement, | 48 TypedElement, |
49 TypedefElement; | 49 TypedefElement; |
50 import 'js/js.dart' as js; | 50 import 'js/js.dart' as js; |
51 import 'native/native.dart' as native; | 51 import 'native/native.dart' as native; |
52 import 'resolution/members.dart' show | 52 import 'resolution/members.dart' show |
53 ResolverVisitor; | 53 ResolverVisitor; |
54 import 'tree/tree.dart' show | 54 import 'tree/tree.dart' show |
55 Send; | 55 Send; |
56 import 'types/types.dart' show | 56 import 'types/types.dart' show |
57 TypeMaskStrategy; | 57 TypeMaskStrategy; |
| 58 import 'universe/selector.dart' show |
| 59 Selector; |
58 import 'universe/universe.dart'; | 60 import 'universe/universe.dart'; |
59 import 'util/util.dart' show | 61 import 'util/util.dart' show |
60 Link, | 62 Link, |
61 Setlet; | 63 Setlet; |
62 | 64 |
63 typedef ItemCompilationContext ItemCompilationContextCreator(); | 65 typedef ItemCompilationContext ItemCompilationContextCreator(); |
64 | 66 |
65 class EnqueueTask extends CompilerTask { | 67 class EnqueueTask extends CompilerTask { |
66 final ResolutionEnqueuer resolution; | 68 final ResolutionEnqueuer resolution; |
67 final CodegenEnqueuer codegen; | 69 final CodegenEnqueuer codegen; |
(...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1069 @override | 1071 @override |
1070 void processStaticUse(Enqueuer enqueuer, Element element) { | 1072 void processStaticUse(Enqueuer enqueuer, Element element) { |
1071 enqueuer.registerStaticUseInternal(element); | 1073 enqueuer.registerStaticUseInternal(element); |
1072 } | 1074 } |
1073 | 1075 |
1074 @override | 1076 @override |
1075 void processSelector(Enqueuer enqueuer, UniverseSelector selector) { | 1077 void processSelector(Enqueuer enqueuer, UniverseSelector selector) { |
1076 enqueuer.handleUnseenSelectorInternal(selector); | 1078 enqueuer.handleUnseenSelectorInternal(selector); |
1077 } | 1079 } |
1078 } | 1080 } |
OLD | NEW |