| 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 '../compiler.dart' show | 7 import '../compiler.dart' show |
| 8 Compiler, | 8 Compiler; |
| 9 isPrivateName; | |
| 10 import '../constants/constructors.dart'; | 9 import '../constants/constructors.dart'; |
| 11 import '../constants/expressions.dart'; | 10 import '../constants/expressions.dart'; |
| 12 import '../dart_types.dart'; | 11 import '../dart_types.dart'; |
| 13 import '../diagnostics/diagnostic_listener.dart'; | 12 import '../diagnostics/diagnostic_listener.dart'; |
| 14 import '../diagnostics/messages.dart' show | 13 import '../diagnostics/messages.dart' show |
| 15 MessageKind; | 14 MessageKind; |
| 16 import '../diagnostics/source_span.dart' show | 15 import '../diagnostics/source_span.dart' show |
| 17 SourceSpan; | 16 SourceSpan; |
| 18 import '../diagnostics/spannable.dart' show | 17 import '../diagnostics/spannable.dart' show |
| 19 Spannable; | 18 Spannable; |
| 20 import '../resolution/scope.dart' show | 19 import '../resolution/scope.dart' show |
| 21 Scope; | 20 Scope; |
| 22 import '../resolution/tree_elements.dart' show | 21 import '../resolution/tree_elements.dart' show |
| 23 TreeElements; | 22 TreeElements; |
| 24 import '../ordered_typeset.dart' show OrderedTypeSet; | 23 import '../ordered_typeset.dart' show OrderedTypeSet; |
| 25 import '../scanner/scannerlib.dart' show | 24 import '../scanner/scannerlib.dart' show |
| 26 Token, | 25 Token, |
| 27 isUserDefinableOperator, | 26 isUserDefinableOperator, |
| 28 isMinusOperator; | 27 isMinusOperator; |
| 29 import '../script.dart'; | 28 import '../script.dart'; |
| 30 import '../tree/tree.dart'; | 29 import '../tree/tree.dart'; |
| 30 import '../util/characters.dart' show $_; |
| 31 import '../util/util.dart'; | 31 import '../util/util.dart'; |
| 32 | 32 |
| 33 import 'visitor.dart' show ElementVisitor; | 33 import 'visitor.dart' show ElementVisitor; |
| 34 | 34 |
| 35 part 'names.dart'; | 35 part 'names.dart'; |
| 36 | 36 |
| 37 const int STATE_NOT_STARTED = 0; | 37 const int STATE_NOT_STARTED = 0; |
| 38 const int STATE_STARTED = 1; | 38 const int STATE_STARTED = 1; |
| 39 const int STATE_DONE = 2; | 39 const int STATE_DONE = 2; |
| 40 | 40 |
| (...skipping 1612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1653 bool get isDeclaredByField; | 1653 bool get isDeclaredByField; |
| 1654 | 1654 |
| 1655 /// Returns `true` if this member is abstract. | 1655 /// Returns `true` if this member is abstract. |
| 1656 bool get isAbstract; | 1656 bool get isAbstract; |
| 1657 | 1657 |
| 1658 /// If abstract, [implementation] points to the overridden concrete member, | 1658 /// If abstract, [implementation] points to the overridden concrete member, |
| 1659 /// if any. Otherwise [implementation] points to the member itself. | 1659 /// if any. Otherwise [implementation] points to the member itself. |
| 1660 Member get implementation; | 1660 Member get implementation; |
| 1661 } | 1661 } |
| 1662 | 1662 |
| OLD | NEW |