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'; | |
24 import '../tree/tree.dart'; | 9 import '../tree/tree.dart'; |
25 import '../util/util.dart'; | 10 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; |
26 | 36 |
27 import 'visitor.dart' show ElementVisitor; | 37 import 'visitor.dart' show ElementVisitor; |
28 | 38 |
29 part 'names.dart'; | 39 part 'names.dart'; |
30 | 40 |
31 const int STATE_NOT_STARTED = 0; | 41 const int STATE_NOT_STARTED = 0; |
32 const int STATE_STARTED = 1; | 42 const int STATE_STARTED = 1; |
33 const int STATE_DONE = 2; | 43 const int STATE_DONE = 2; |
34 | 44 |
35 class ElementCategory { | 45 class ElementCategory { |
(...skipping 1610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1646 bool get isDeclaredByField; | 1656 bool get isDeclaredByField; |
1647 | 1657 |
1648 /// Returns `true` if this member is abstract. | 1658 /// Returns `true` if this member is abstract. |
1649 bool get isAbstract; | 1659 bool get isAbstract; |
1650 | 1660 |
1651 /// If abstract, [implementation] points to the overridden concrete member, | 1661 /// If abstract, [implementation] points to the overridden concrete member, |
1652 /// if any. Otherwise [implementation] points to the member itself. | 1662 /// if any. Otherwise [implementation] points to the member itself. |
1653 Member get implementation; | 1663 Member get implementation; |
1654 } | 1664 } |
1655 | 1665 |
OLD | NEW |