| 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 '../common.dart'; | 7 import '../common.dart'; |
| 8 import '../common/resolution.dart' show | 8 import '../common/resolution.dart' show |
| 9 Resolution; | 9 Resolution; |
| 10 import '../compiler.dart' show | 10 import '../compiler.dart' show |
| (...skipping 1487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1498 void forEachInterfaceMember(f(MemberSignature member)); | 1498 void forEachInterfaceMember(f(MemberSignature member)); |
| 1499 | 1499 |
| 1500 /// Returns the type of the 'call' method in the interface of this class, or | 1500 /// Returns the type of the 'call' method in the interface of this class, or |
| 1501 /// `null` if the interface has no 'call' method. | 1501 /// `null` if the interface has no 'call' method. |
| 1502 FunctionType get callType; | 1502 FunctionType get callType; |
| 1503 } | 1503 } |
| 1504 | 1504 |
| 1505 abstract class MixinApplicationElement extends ClassElement { | 1505 abstract class MixinApplicationElement extends ClassElement { |
| 1506 ClassElement get mixin; | 1506 ClassElement get mixin; |
| 1507 InterfaceType get mixinType; | 1507 InterfaceType get mixinType; |
| 1508 void set mixinType(InterfaceType value); | |
| 1509 void addConstructor(FunctionElement constructor); | |
| 1510 } | 1508 } |
| 1511 | 1509 |
| 1512 /// Enum declaration. | 1510 /// Enum declaration. |
| 1513 abstract class EnumClassElement extends ClassElement { | 1511 abstract class EnumClassElement extends ClassElement { |
| 1514 /// The static fields implied by the enum values. | 1512 /// The static fields implied by the enum values. |
| 1515 List<FieldElement> get enumValues; | 1513 List<FieldElement> get enumValues; |
| 1516 } | 1514 } |
| 1517 | 1515 |
| 1518 /// The label entity defined by a labeled statement. | 1516 /// The label entity defined by a labeled statement. |
| 1519 abstract class LabelDefinition extends Entity { | 1517 abstract class LabelDefinition extends Entity { |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1719 bool get isDeclaredByField; | 1717 bool get isDeclaredByField; |
| 1720 | 1718 |
| 1721 /// Returns `true` if this member is abstract. | 1719 /// Returns `true` if this member is abstract. |
| 1722 bool get isAbstract; | 1720 bool get isAbstract; |
| 1723 | 1721 |
| 1724 /// If abstract, [implementation] points to the overridden concrete member, | 1722 /// If abstract, [implementation] points to the overridden concrete member, |
| 1725 /// if any. Otherwise [implementation] points to the member itself. | 1723 /// if any. Otherwise [implementation] points to the member itself. |
| 1726 Member get implementation; | 1724 Member get implementation; |
| 1727 } | 1725 } |
| 1728 | 1726 |
| OLD | NEW |