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 1412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1423 abstract class MixinApplicationElement extends ClassElement { | 1423 abstract class MixinApplicationElement extends ClassElement { |
1424 ClassElement get mixin; | 1424 ClassElement get mixin; |
1425 InterfaceType get mixinType; | 1425 InterfaceType get mixinType; |
1426 void set mixinType(InterfaceType value); | 1426 void set mixinType(InterfaceType value); |
1427 void addConstructor(FunctionElement constructor); | 1427 void addConstructor(FunctionElement constructor); |
1428 } | 1428 } |
1429 | 1429 |
1430 /// Enum declaration. | 1430 /// Enum declaration. |
1431 abstract class EnumClassElement extends ClassElement { | 1431 abstract class EnumClassElement extends ClassElement { |
1432 /// The static fields implied by the enum values. | 1432 /// The static fields implied by the enum values. |
1433 Iterable<FieldElement> get enumValues; | 1433 List<FieldElement> get enumValues; |
1434 } | 1434 } |
1435 | 1435 |
1436 /// The label entity defined by a labeled statement. | 1436 /// The label entity defined by a labeled statement. |
1437 abstract class LabelDefinition extends Entity { | 1437 abstract class LabelDefinition extends Entity { |
1438 Label get label; | 1438 Label get label; |
1439 String get labelName; | 1439 String get labelName; |
1440 JumpTarget get target; | 1440 JumpTarget get target; |
1441 | 1441 |
1442 bool get isTarget; | 1442 bool get isTarget; |
1443 bool get isBreakTarget; | 1443 bool get isBreakTarget; |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1621 bool get isDeclaredByField; | 1621 bool get isDeclaredByField; |
1622 | 1622 |
1623 /// Returns `true` if this member is abstract. | 1623 /// Returns `true` if this member is abstract. |
1624 bool get isAbstract; | 1624 bool get isAbstract; |
1625 | 1625 |
1626 /// If abstract, [implementation] points to the overridden concrete member, | 1626 /// If abstract, [implementation] points to the overridden concrete member, |
1627 /// if any. Otherwise [implementation] points to the member itself. | 1627 /// if any. Otherwise [implementation] points to the member itself. |
1628 Member get implementation; | 1628 Member get implementation; |
1629 } | 1629 } |
1630 | 1630 |
OLD | NEW |