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

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

Issue 1880323002: dart2js cleanup: remove unused imports and variables (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge master Created 4 years, 8 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 '../compiler.dart' show Compiler; 10 import '../compiler.dart' show Compiler;
11 import '../dart_types.dart'; 11 import '../dart_types.dart';
12 import '../elements/elements.dart' 12 import '../elements/elements.dart'
13 show 13 show
14 ClassElement, 14 ClassElement,
15 Element, 15 Element,
16 LibraryElement, 16 LibraryElement,
17 Member, 17 Member,
18 MemberElement, 18 MemberElement,
19 MemberSignature, 19 MemberSignature,
20 MixinApplicationElement, 20 MixinApplicationElement,
21 Name, 21 Name;
22 PublicName;
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 902 matching lines...) Expand 10 before | Expand all | Expand 10 after
935 message: "Members have not been fully computed for $this.")); 934 message: "Members have not been fully computed for $this."));
936 if (interfaceMembersAreClassMembers) { 935 if (interfaceMembersAreClassMembers) {
937 classMembers.forEach((_, member) { 936 classMembers.forEach((_, member) {
938 if (!member.isStatic) f(member); 937 if (!member.isStatic) f(member);
939 }); 938 });
940 } else { 939 } else {
941 interfaceMembers.forEach((_, member) => f(member)); 940 interfaceMembers.forEach((_, member) => f(member));
942 } 941 }
943 } 942 }
944 } 943 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/patch_parser.dart ('k') | pkg/compiler/lib/src/resolution/constructors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698