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 | 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 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1407 FunctionType get callType; | 1407 FunctionType get callType; |
| 1408 } | 1408 } |
| 1409 | 1409 |
| 1410 abstract class MixinApplicationElement extends ClassElement { | 1410 abstract class MixinApplicationElement extends ClassElement { |
| 1411 ClassElement get mixin; | 1411 ClassElement get mixin; |
| 1412 InterfaceType get mixinType; | 1412 InterfaceType get mixinType; |
| 1413 void set mixinType(InterfaceType value); | 1413 void set mixinType(InterfaceType value); |
| 1414 void addConstructor(FunctionElement constructor); | 1414 void addConstructor(FunctionElement constructor); |
| 1415 } | 1415 } |
| 1416 | 1416 |
| 1417 /// Enum declaration. | |
| 1418 abstract class EnumClassElement extends ClassElement { | |
| 1419 /// The static field implied by the enum values. | |
|
floitsch
2014/11/12 17:52:35
static fields
Johnni Winther
2014/11/13 08:48:40
Done.
| |
| 1420 Iterable<FieldElement> get enumValues; | |
| 1421 } | |
| 1422 | |
| 1417 /// The label entity defined by a labeled statement. | 1423 /// The label entity defined by a labeled statement. |
| 1418 abstract class LabelDefinition extends Entity { | 1424 abstract class LabelDefinition extends Entity { |
| 1419 Label get label; | 1425 Label get label; |
| 1420 String get labelName; | 1426 String get labelName; |
| 1421 JumpTarget get target; | 1427 JumpTarget get target; |
| 1422 | 1428 |
| 1423 bool get isTarget; | 1429 bool get isTarget; |
| 1424 bool get isBreakTarget; | 1430 bool get isBreakTarget; |
| 1425 bool get isContinueTarget; | 1431 bool get isContinueTarget; |
| 1426 | 1432 |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1602 bool get isDeclaredByField; | 1608 bool get isDeclaredByField; |
| 1603 | 1609 |
| 1604 /// Returns `true` if this member is abstract. | 1610 /// Returns `true` if this member is abstract. |
| 1605 bool get isAbstract; | 1611 bool get isAbstract; |
| 1606 | 1612 |
| 1607 /// If abstract, [implementation] points to the overridden concrete member, | 1613 /// If abstract, [implementation] points to the overridden concrete member, |
| 1608 /// if any. Otherwise [implementation] points to the member itself. | 1614 /// if any. Otherwise [implementation] points to the member itself. |
| 1609 Member get implementation; | 1615 Member get implementation; |
| 1610 } | 1616 } |
| 1611 | 1617 |
| OLD | NEW |