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

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

Issue 1286143003: Move diagnostic_listener.dart and messages.dart to the diagnostics folder (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « pkg/compiler/lib/src/patch_parser.dart ('k') | pkg/compiler/lib/src/resolution/resolution.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 resolution.compute_members; 5 library resolution.compute_members;
6 6
7 import '../compiler.dart' show 7 import '../compiler.dart' show
8 Compiler, 8 Compiler,
9 isPrivateName; 9 isPrivateName;
10 import '../dart_types.dart'; 10 import '../dart_types.dart';
11 import '../diagnostics/invariant.dart' show 11 import '../diagnostics/invariant.dart' show
12 invariant; 12 invariant;
13 import '../diagnostics/messages.dart' show
14 MessageKind;
13 import '../elements/elements.dart' show 15 import '../elements/elements.dart' show
14 ClassElement, 16 ClassElement,
15 Element, 17 Element,
16 LibraryElement, 18 LibraryElement,
17 Member, 19 Member,
18 MemberElement, 20 MemberElement,
19 MemberSignature, 21 MemberSignature,
20 MixinApplicationElement, 22 MixinApplicationElement,
21 Name, 23 Name,
22 PublicName; 24 PublicName;
23 import '../messages.dart' show
24 MessageKind;
25 import '../util/util.dart'; 25 import '../util/util.dart';
26 26
27 part 'member_impl.dart'; 27 part 'member_impl.dart';
28 28
29 abstract class MembersCreator { 29 abstract class MembersCreator {
30 final ClassElement cls; 30 final ClassElement cls;
31 final Compiler compiler; 31 final Compiler compiler;
32 32
33 final Iterable<String> computedMemberNames; 33 final Iterable<String> computedMemberNames;
34 final Map<Name, Member> classMembers; 34 final Map<Name, Member> classMembers;
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 message: "Members have not been fully computed for $this.")); 906 message: "Members have not been fully computed for $this."));
907 if (interfaceMembersAreClassMembers) { 907 if (interfaceMembersAreClassMembers) {
908 classMembers.forEach((_, member) { 908 classMembers.forEach((_, member) {
909 if (!member.isStatic) f(member); 909 if (!member.isStatic) f(member);
910 }); 910 });
911 } else { 911 } else {
912 interfaceMembers.forEach((_, member) => f(member)); 912 interfaceMembers.forEach((_, member) => f(member));
913 } 913 }
914 } 914 }
915 } 915 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/patch_parser.dart ('k') | pkg/compiler/lib/src/resolution/resolution.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698