| 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 | 7 |
| 8 import '../constants/expressions.dart'; | 8 import '../constants/expressions.dart'; |
| 9 import '../tree/tree.dart'; | 9 import '../tree/tree.dart'; |
| 10 import '../util/util.dart'; | 10 import '../util/util.dart'; |
| (...skipping 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1393 /// Returns `true` if the class hierarchy for this class contains errors. | 1393 /// Returns `true` if the class hierarchy for this class contains errors. |
| 1394 bool get hasIncompleteHierarchy; | 1394 bool get hasIncompleteHierarchy; |
| 1395 | 1395 |
| 1396 void addMember(Element element, DiagnosticListener listener); | 1396 void addMember(Element element, DiagnosticListener listener); |
| 1397 void addToScope(Element element, DiagnosticListener listener); | 1397 void addToScope(Element element, DiagnosticListener listener); |
| 1398 | 1398 |
| 1399 void addBackendMember(Element element); | 1399 void addBackendMember(Element element); |
| 1400 void reverseBackendMembers(); | 1400 void reverseBackendMembers(); |
| 1401 | 1401 |
| 1402 Element lookupMember(String memberName); | 1402 Element lookupMember(String memberName); |
| 1403 Element lookupSelector(Selector selector); | 1403 Element lookupByName(Name memberName); |
| 1404 Element lookupSuperSelector(Selector selector); | 1404 Element lookupSuperByName(Name memberName); |
| 1405 | 1405 |
| 1406 Element lookupLocalMember(String memberName); | 1406 Element lookupLocalMember(String memberName); |
| 1407 Element lookupBackendMember(String memberName); | 1407 Element lookupBackendMember(String memberName); |
| 1408 Element lookupSuperMember(String memberName); | 1408 Element lookupSuperMember(String memberName); |
| 1409 | 1409 |
| 1410 Element lookupSuperMemberInLibrary(String memberName, | 1410 Element lookupSuperMemberInLibrary(String memberName, |
| 1411 LibraryElement library); | 1411 LibraryElement library); |
| 1412 | 1412 |
| 1413 ConstructorElement lookupDefaultConstructor(); | 1413 ConstructorElement lookupDefaultConstructor(); |
| 1414 ConstructorElement lookupConstructor(String name); | 1414 ConstructorElement lookupConstructor(String name); |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1646 bool get isDeclaredByField; | 1646 bool get isDeclaredByField; |
| 1647 | 1647 |
| 1648 /// Returns `true` if this member is abstract. | 1648 /// Returns `true` if this member is abstract. |
| 1649 bool get isAbstract; | 1649 bool get isAbstract; |
| 1650 | 1650 |
| 1651 /// If abstract, [implementation] points to the overridden concrete member, | 1651 /// If abstract, [implementation] points to the overridden concrete member, |
| 1652 /// if any. Otherwise [implementation] points to the member itself. | 1652 /// if any. Otherwise [implementation] points to the member itself. |
| 1653 Member get implementation; | 1653 Member get implementation; |
| 1654 } | 1654 } |
| 1655 | 1655 |
| OLD | NEW |