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 '../common.dart'; | 7 import '../common.dart'; |
8 import '../common/resolution.dart' show Resolution; | 8 import '../common/resolution.dart' show Resolution; |
9 import '../compiler.dart' show Compiler; | 9 import '../compiler.dart' show Compiler; |
10 import '../constants/constructors.dart'; | 10 import '../constants/constructors.dart'; |
11 import '../constants/expressions.dart'; | 11 import '../constants/expressions.dart'; |
12 import '../core_types.dart' show CommonElements; | 12 import '../core_types.dart' show CommonElements; |
13 import '../ordered_typeset.dart' show OrderedTypeSet; | 13 import '../ordered_typeset.dart' show OrderedTypeSet; |
14 import '../resolution/scope.dart' show Scope; | 14 import '../resolution/scope.dart' show Scope; |
15 import '../resolution/tree_elements.dart' show TreeElements; | 15 import '../resolution/tree_elements.dart' show TreeElements; |
16 import '../script.dart'; | 16 import '../script.dart'; |
17 import '../tokens/token.dart' | 17 import 'package:dart_scanner/dart_scanner.dart' |
18 show Token, isUserDefinableOperator, isMinusOperator; | 18 show Token, isUserDefinableOperator, isMinusOperator; |
19 import '../tree/tree.dart'; | 19 import '../tree/tree.dart'; |
20 import '../universe/call_structure.dart'; | 20 import '../universe/call_structure.dart'; |
21 import '../util/characters.dart' show $_; | 21 import 'package:dart_scanner/src/characters.dart' show $_; |
22 import '../util/util.dart'; | 22 import '../util/util.dart'; |
23 import '../world.dart' show ClosedWorld; | 23 import '../world.dart' show ClosedWorld; |
24 import 'entities.dart'; | 24 import 'entities.dart'; |
25 import 'resolution_types.dart'; | 25 import 'resolution_types.dart'; |
26 import 'visitor.dart' show ElementVisitor; | 26 import 'visitor.dart' show ElementVisitor; |
27 | 27 |
28 part 'names.dart'; | 28 part 'names.dart'; |
29 | 29 |
30 const int STATE_NOT_STARTED = 0; | 30 const int STATE_NOT_STARTED = 0; |
31 const int STATE_STARTED = 1; | 31 const int STATE_STARTED = 1; |
(...skipping 2012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2044 /// by a field. | 2044 /// by a field. |
2045 bool get isDeclaredByField; | 2045 bool get isDeclaredByField; |
2046 | 2046 |
2047 /// Returns `true` if this member is abstract. | 2047 /// Returns `true` if this member is abstract. |
2048 bool get isAbstract; | 2048 bool get isAbstract; |
2049 | 2049 |
2050 /// If abstract, [implementation] points to the overridden concrete member, | 2050 /// If abstract, [implementation] points to the overridden concrete member, |
2051 /// if any. Otherwise [implementation] points to the member itself. | 2051 /// if any. Otherwise [implementation] points to the member itself. |
2052 Member get implementation; | 2052 Member get implementation; |
2053 } | 2053 } |
OLD | NEW |