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

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

Issue 1284673003: Move dart2jslib parts into separate libraries. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix try. 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 '../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 MemberElement, 12 MemberElement,
13 MemberSignature, 13 MemberSignature,
14 LibraryElement, 14 LibraryElement,
15 ClassElement, 15 ClassElement,
16 MixinApplicationElement; 16 MixinApplicationElement;
17 import '../dart_types.dart'; 17 import '../dart_types.dart';
18 import '../dart2jslib.dart' 18 import '../dart2jslib.dart'
19 show Compiler, 19 show Compiler,
20 MessageKind,
21 invariant, 20 invariant,
22 isPrivateName; 21 isPrivateName;
22 import '../messages.dart' show MessageKind;
23 import '../util/util.dart'; 23 import '../util/util.dart';
24 24
25 part 'member_impl.dart'; 25 part 'member_impl.dart';
26 26
27 abstract class MembersCreator { 27 abstract class MembersCreator {
28 final ClassElement cls; 28 final ClassElement cls;
29 final Compiler compiler; 29 final Compiler compiler;
30 30
31 final Iterable<String> computedMemberNames; 31 final Iterable<String> computedMemberNames;
32 final Map<Name, Member> classMembers; 32 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.")); 904 message: "Members have not been fully computed for $this."));
905 if (interfaceMembersAreClassMembers) { 905 if (interfaceMembersAreClassMembers) {
906 classMembers.forEach((_, member) { 906 classMembers.forEach((_, member) {
907 if (!member.isStatic) f(member); 907 if (!member.isStatic) f(member);
908 }); 908 });
909 } else { 909 } else {
910 interfaceMembers.forEach((_, member) => f(member)); 910 interfaceMembers.forEach((_, member) => f(member));
911 } 911 }
912 } 912 }
913 } 913 }
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