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

Side by Side Diff: pkg/compiler/lib/src/elements/elements.dart

Issue 2810683002: Use entities in Selector methods (Closed)
Patch Set: Created 3 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
« no previous file with comments | « pkg/compiler/lib/src/elements/common.dart ('k') | pkg/compiler/lib/src/elements/entities.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 elements; 5 library elements;
6 6
7 import 'package:front_end/src/fasta/parser/async_modifier.dart' 7 import 'package:front_end/src/fasta/parser/async_modifier.dart'
8 show AsyncModifier; 8 show AsyncModifier;
9 9
10 import '../common.dart'; 10 import '../common.dart';
(...skipping 1658 matching lines...) Expand 10 before | Expand all | Expand 10 after
1669 void addBackendMember(Element element); 1669 void addBackendMember(Element element);
1670 void reverseBackendMembers(); 1670 void reverseBackendMembers();
1671 1671
1672 Element lookupMember(String memberName); 1672 Element lookupMember(String memberName);
1673 1673
1674 /// Looks up a class instance member declared or inherited in this class 1674 /// Looks up a class instance member declared or inherited in this class
1675 /// using [memberName] to match the (private) name and getter/setter property. 1675 /// using [memberName] to match the (private) name and getter/setter property.
1676 /// 1676 ///
1677 /// This method recursively visits superclasses until the member is found or 1677 /// This method recursively visits superclasses until the member is found or
1678 /// [stopAt] is reached. 1678 /// [stopAt] is reached.
1679 Element lookupByName(Name memberName, {ClassElement stopAt}); 1679 MemberElement lookupByName(Name memberName, {ClassElement stopAt});
1680 Element lookupSuperByName(Name memberName); 1680 MemberElement lookupSuperByName(Name memberName);
1681 1681
1682 Element lookupLocalMember(String memberName); 1682 Element lookupLocalMember(String memberName);
1683 Element lookupBackendMember(String memberName); 1683 Element lookupBackendMember(String memberName);
1684 Element lookupSuperMember(String memberName); 1684 Element lookupSuperMember(String memberName);
1685 1685
1686 Element lookupSuperMemberInLibrary(String memberName, LibraryElement library); 1686 Element lookupSuperMemberInLibrary(String memberName, LibraryElement library);
1687 1687
1688 // TODO(johnniwinther): Clean up semantics. Can the default constructor take 1688 // TODO(johnniwinther): Clean up semantics. Can the default constructor take
1689 // optional arguments? Must it be resolved? 1689 // optional arguments? Must it be resolved?
1690 ConstructorElement lookupDefaultConstructor(); 1690 ConstructorElement lookupDefaultConstructor();
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
2033 /// by a field. 2033 /// by a field.
2034 bool get isDeclaredByField; 2034 bool get isDeclaredByField;
2035 2035
2036 /// Returns `true` if this member is abstract. 2036 /// Returns `true` if this member is abstract.
2037 bool get isAbstract; 2037 bool get isAbstract;
2038 2038
2039 /// If abstract, [implementation] points to the overridden concrete member, 2039 /// If abstract, [implementation] points to the overridden concrete member,
2040 /// if any. Otherwise [implementation] points to the member itself. 2040 /// if any. Otherwise [implementation] points to the member itself.
2041 Member get implementation; 2041 Member get implementation;
2042 } 2042 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/elements/common.dart ('k') | pkg/compiler/lib/src/elements/entities.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698