| 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 /// The [type] defined by the type variable. | 1423 /// The [type] defined by the type variable. |
| 1424 TypeVariableType get type; | 1424 TypeVariableType get type; |
| 1425 | 1425 |
| 1426 /// The upper bound on the type variable. If not explicitly declared, this is | 1426 /// The upper bound on the type variable. If not explicitly declared, this is |
| 1427 /// `Object`. | 1427 /// `Object`. |
| 1428 DartType get bound; | 1428 DartType get bound; |
| 1429 } | 1429 } |
| 1430 | 1430 |
| 1431 abstract class MetadataAnnotation implements Spannable { | 1431 abstract class MetadataAnnotation implements Spannable { |
| 1432 /// The front-end constant of this metadata annotation. | 1432 /// The front-end constant of this metadata annotation. |
| 1433 ConstExp get constant; | 1433 ConstantExpression get constant; |
| 1434 Element get annotatedElement; | 1434 Element get annotatedElement; |
| 1435 int get resolutionState; | 1435 int get resolutionState; |
| 1436 Token get beginToken; | 1436 Token get beginToken; |
| 1437 Token get endToken; | 1437 Token get endToken; |
| 1438 | 1438 |
| 1439 MetadataAnnotation ensureResolved(Compiler compiler); | 1439 MetadataAnnotation ensureResolved(Compiler compiler); |
| 1440 } | 1440 } |
| 1441 | 1441 |
| 1442 /// An [Element] that has a type. | 1442 /// An [Element] that has a type. |
| 1443 abstract class TypedElement extends Element { | 1443 abstract class TypedElement extends Element { |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1561 bool get isDeclaredByField; | 1561 bool get isDeclaredByField; |
| 1562 | 1562 |
| 1563 /// Returns `true` if this member is abstract. | 1563 /// Returns `true` if this member is abstract. |
| 1564 bool get isAbstract; | 1564 bool get isAbstract; |
| 1565 | 1565 |
| 1566 /// If abstract, [implementation] points to the overridden concrete member, | 1566 /// If abstract, [implementation] points to the overridden concrete member, |
| 1567 /// if any. Otherwise [implementation] points to the member itself. | 1567 /// if any. Otherwise [implementation] points to the member itself. |
| 1568 Member get implementation; | 1568 Member get implementation; |
| 1569 } | 1569 } |
| 1570 | 1570 |
| OLD | NEW |