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

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

Issue 1173403002: dart2js: Fix hints in code base. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Updated to latest revision Created 5 years, 6 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 resolution.compute_members; 5 library resolution.compute_members;
6 6
7 import '../elements/elements.dart' 7 import '../elements/elements.dart'
8 show Element, 8 show Element,
9 Name, 9 Name,
10 PublicName, 10 PublicName,
11 Member, 11 Member,
12 MemberSignature, 12 MemberSignature,
13 LibraryElement, 13 LibraryElement,
14 ClassElement, 14 ClassElement,
15 MixinApplicationElement; 15 MixinApplicationElement;
16 import '../dart_types.dart'; 16 import '../dart_types.dart';
17 import '../dart2jslib.dart' 17 import '../dart2jslib.dart'
18 show Compiler, 18 show Compiler,
19 MessageKind, 19 MessageKind,
20 invariant, 20 invariant,
21 isPrivateName; 21 isPrivateName;
22 import '../helpers/helpers.dart'; // Included for debug helpers.
23 import '../util/util.dart'; 22 import '../util/util.dart';
24 23
25 part 'member_impl.dart'; 24 part 'member_impl.dart';
26 25
27 abstract class MembersCreator { 26 abstract class MembersCreator {
28 final ClassElement cls; 27 final ClassElement cls;
29 final Compiler compiler; 28 final Compiler compiler;
30 29
31 final Iterable<String> computedMemberNames; 30 final Iterable<String> computedMemberNames;
32 final Map<Name, Member> classMembers; 31 final Map<Name, Member> classMembers;
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 message: "Members have not been fully computed for $this.")); 903 message: "Members have not been fully computed for $this."));
905 if (interfaceMembersAreClassMembers) { 904 if (interfaceMembersAreClassMembers) {
906 classMembers.forEach((_, member) { 905 classMembers.forEach((_, member) {
907 if (!member.isStatic) f(member); 906 if (!member.isStatic) f(member);
908 }); 907 });
909 } else { 908 } else {
910 interfaceMembers.forEach((_, member) => f(member)); 909 interfaceMembers.forEach((_, member) => f(member));
911 } 910 }
912 } 911 }
913 } 912 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698