| 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 '../constants/constructors.dart'; | 7 import '../constants/constructors.dart'; |
| 8 import '../constants/expressions.dart'; | 8 import '../constants/expressions.dart'; |
| 9 import '../dart_types.dart'; |
| 10 import '../dart2jslib.dart' show |
| 11 Backend, |
| 12 Compiler, |
| 13 isPrivateName, |
| 14 SourceSpan; |
| 15 import '../diagnostic_listener.dart'; |
| 16 import '../messages.dart' show MessageKind; |
| 17 import '../resolution/resolution.dart'; |
| 18 import '../ordered_typeset.dart' show OrderedTypeSet; |
| 19 import '../scanner/scannerlib.dart' show |
| 20 Token, |
| 21 isUserDefinableOperator, |
| 22 isMinusOperator; |
| 23 import '../script.dart'; |
| 9 import '../tree/tree.dart'; | 24 import '../tree/tree.dart'; |
| 10 import '../util/util.dart'; | 25 import '../util/util.dart'; |
| 11 import '../resolution/resolution.dart'; | |
| 12 | |
| 13 import '../dart2jslib.dart' show InterfaceType, | |
| 14 DartType, | |
| 15 TypeVariableType, | |
| 16 TypedefType, | |
| 17 DualKind, | |
| 18 MessageKind, | |
| 19 DiagnosticListener, | |
| 20 Script, | |
| 21 FunctionType, | |
| 22 Selector, | |
| 23 SourceSpan, | |
| 24 Constant, | |
| 25 Compiler, | |
| 26 Backend, | |
| 27 isPrivateName; | |
| 28 | |
| 29 import '../dart_types.dart'; | |
| 30 | |
| 31 import '../scanner/scannerlib.dart' show Token, | |
| 32 isUserDefinableOperator, | |
| 33 isMinusOperator; | |
| 34 | |
| 35 import '../ordered_typeset.dart' show OrderedTypeSet; | |
| 36 | 26 |
| 37 import 'visitor.dart' show ElementVisitor; | 27 import 'visitor.dart' show ElementVisitor; |
| 38 | 28 |
| 39 part 'names.dart'; | 29 part 'names.dart'; |
| 40 | 30 |
| 41 const int STATE_NOT_STARTED = 0; | 31 const int STATE_NOT_STARTED = 0; |
| 42 const int STATE_STARTED = 1; | 32 const int STATE_STARTED = 1; |
| 43 const int STATE_DONE = 2; | 33 const int STATE_DONE = 2; |
| 44 | 34 |
| 45 class ElementCategory { | 35 class ElementCategory { |
| (...skipping 1610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1656 bool get isDeclaredByField; | 1646 bool get isDeclaredByField; |
| 1657 | 1647 |
| 1658 /// Returns `true` if this member is abstract. | 1648 /// Returns `true` if this member is abstract. |
| 1659 bool get isAbstract; | 1649 bool get isAbstract; |
| 1660 | 1650 |
| 1661 /// If abstract, [implementation] points to the overridden concrete member, | 1651 /// If abstract, [implementation] points to the overridden concrete member, |
| 1662 /// if any. Otherwise [implementation] points to the member itself. | 1652 /// if any. Otherwise [implementation] points to the member itself. |
| 1663 Member get implementation; | 1653 Member get implementation; |
| 1664 } | 1654 } |
| 1665 | 1655 |
| OLD | NEW |