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.resolution.compute_members; | 5 library dart2js.resolution.compute_members; |
6 | 6 |
| 7 import '../common.dart'; |
7 import '../common/names.dart' show | 8 import '../common/names.dart' show |
8 Identifiers; | 9 Identifiers; |
9 import '../common/resolution.dart' show | 10 import '../common/resolution.dart' show |
10 Resolution; | 11 Resolution; |
11 import '../compiler.dart' show | 12 import '../compiler.dart' show |
12 Compiler; | 13 Compiler; |
13 import '../dart_types.dart'; | 14 import '../dart_types.dart'; |
14 import '../diagnostics/diagnostic_listener.dart' show | |
15 DiagnosticMessage, | |
16 DiagnosticReporter; | |
17 import '../diagnostics/invariant.dart' show | |
18 invariant; | |
19 import '../diagnostics/messages.dart' show | |
20 MessageKind; | |
21 import '../elements/elements.dart' show | 15 import '../elements/elements.dart' show |
22 ClassElement, | 16 ClassElement, |
23 Element, | 17 Element, |
24 LibraryElement, | 18 LibraryElement, |
25 Member, | 19 Member, |
26 MemberElement, | 20 MemberElement, |
27 MemberSignature, | 21 MemberSignature, |
28 MixinApplicationElement, | 22 MixinApplicationElement, |
29 Name, | 23 Name, |
30 PublicName; | 24 PublicName; |
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
953 message: "Members have not been fully computed for $this.")); | 947 message: "Members have not been fully computed for $this.")); |
954 if (interfaceMembersAreClassMembers) { | 948 if (interfaceMembersAreClassMembers) { |
955 classMembers.forEach((_, member) { | 949 classMembers.forEach((_, member) { |
956 if (!member.isStatic) f(member); | 950 if (!member.isStatic) f(member); |
957 }); | 951 }); |
958 } else { | 952 } else { |
959 interfaceMembers.forEach((_, member) => f(member)); | 953 interfaceMembers.forEach((_, member) => f(member)); |
960 } | 954 } |
961 } | 955 } |
962 } | 956 } |
OLD | NEW |