Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 'dart:uri'; | 7 import 'dart:uri'; |
| 8 | 8 |
| 9 import 'modelx.dart'; | 9 import 'modelx.dart'; |
| 10 import '../tree/tree.dart'; | 10 import '../tree/tree.dart'; |
| (...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 752 /** | 752 /** |
| 753 * Add a synthetic nullary constructor if there are no other | 753 * Add a synthetic nullary constructor if there are no other |
| 754 * constructors. | 754 * constructors. |
| 755 */ | 755 */ |
| 756 void addDefaultConstructorIfNeeded(Compiler compiler); | 756 void addDefaultConstructorIfNeeded(Compiler compiler); |
| 757 | 757 |
| 758 void addBackendMember(Element element); | 758 void addBackendMember(Element element); |
| 759 void reverseBackendMembers(); | 759 void reverseBackendMembers(); |
| 760 | 760 |
| 761 Element lookupMember(SourceString memberName); | 761 Element lookupMember(SourceString memberName); |
| 762 Element lookupSelector(Selector selector); | 762 Element lookupSelector(Selector selector, {bool superLookup}); |
|
kasperl
2013/03/05 07:32:36
Maybe it's time to refactor this a bit instead? I
ngeoffray
2013/03/05 08:46:25
I've added a lookupSuperSelector, and an internalL
| |
| 763 | 763 |
| 764 Element lookupLocalMember(SourceString memberName); | 764 Element lookupLocalMember(SourceString memberName); |
| 765 Element lookupBackendMember(SourceString memberName); | 765 Element lookupBackendMember(SourceString memberName); |
| 766 Element lookupSuperMember(SourceString memberName); | 766 Element lookupSuperMember(SourceString memberName); |
| 767 | 767 |
| 768 Element lookupSuperMemberInLibrary(SourceString memberName, | 768 Element lookupSuperMemberInLibrary(SourceString memberName, |
| 769 LibraryElement library); | 769 LibraryElement library); |
| 770 | 770 |
| 771 Element lookupSuperInterfaceMember(SourceString memberName, | 771 Element lookupSuperInterfaceMember(SourceString memberName, |
| 772 LibraryElement fromLibrary); | 772 LibraryElement fromLibrary); |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 841 int get resolutionState; | 841 int get resolutionState; |
| 842 Token get beginToken; | 842 Token get beginToken; |
| 843 Token get endToken; | 843 Token get endToken; |
| 844 | 844 |
| 845 // TODO(kasperl): Try to get rid of these. | 845 // TODO(kasperl): Try to get rid of these. |
| 846 void set annotatedElement(Element value); | 846 void set annotatedElement(Element value); |
| 847 void set resolutionState(int value); | 847 void set resolutionState(int value); |
| 848 | 848 |
| 849 MetadataAnnotation ensureResolved(Compiler compiler); | 849 MetadataAnnotation ensureResolved(Compiler compiler); |
| 850 } | 850 } |
| OLD | NEW |