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

Side by Side Diff: pkg/compiler/lib/src/resolution/class_members.dart

Issue 2860753005: Make elements/names.dart its own library (Closed)
Patch Set: Created 3 years, 7 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) 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.dart';
8 import '../common/names.dart' show Identifiers, Names; 8 import '../common/names.dart' show Identifiers, Names;
9 import '../common/resolution.dart' show Resolution; 9 import '../common/resolution.dart' show Resolution;
10 import '../elements/resolution_types.dart'; 10 import '../elements/resolution_types.dart';
11 import '../elements/elements.dart' 11 import '../elements/elements.dart'
12 show 12 show
13 ClassElement, 13 ClassElement,
14 Element, 14 Element,
15 LibraryElement, 15 LibraryElement,
16 Member, 16 Member,
17 MemberElement, 17 MemberElement,
18 MemberSignature, 18 MemberSignature,
19 MixinApplicationElement, 19 MixinApplicationElement;
20 Name; 20 import '../elements/names.dart';
21 import '../util/util.dart'; 21 import '../util/util.dart';
22 22
23 part 'member_impl.dart'; 23 part 'member_impl.dart';
24 24
25 abstract class MembersCreator { 25 abstract class MembersCreator {
26 final ClassElement cls; 26 final ClassElement cls;
27 final Resolution resolution; 27 final Resolution resolution;
28 28
29 final Iterable<String> computedMemberNames; 29 final Iterable<String> computedMemberNames;
30 final Map<Name, Member> classMembers; 30 final Map<Name, Member> classMembers;
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 message: "Members have not been fully computed for $this.")); 958 message: "Members have not been fully computed for $this."));
959 if (interfaceMembersAreClassMembers) { 959 if (interfaceMembersAreClassMembers) {
960 classMembers.forEach((_, member) { 960 classMembers.forEach((_, member) {
961 if (!member.isStatic) f(member); 961 if (!member.isStatic) f(member);
962 }); 962 });
963 } else { 963 } else {
964 interfaceMembers.forEach((_, member) => f(member)); 964 interfaceMembers.forEach((_, member) => f(member));
965 } 965 }
966 } 966 }
967 } 967 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/class_hierarchy.dart ('k') | pkg/compiler/lib/src/resolution/constructors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698