| 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 CoreClasses; | 12 import '../core_types.dart' show CoreClasses; |
| 13 import '../dart_types.dart'; | 13 import '../dart_types.dart'; |
| 14 import '../ordered_typeset.dart' show OrderedTypeSet; |
| 14 import '../resolution/scope.dart' show Scope; | 15 import '../resolution/scope.dart' show Scope; |
| 15 import '../resolution/tree_elements.dart' show TreeElements; | 16 import '../resolution/tree_elements.dart' show TreeElements; |
| 16 import '../ordered_typeset.dart' show OrderedTypeSet; | |
| 17 import '../script.dart'; | 17 import '../script.dart'; |
| 18 import '../tokens/token.dart' | 18 import '../tokens/token.dart' |
| 19 show Token, isUserDefinableOperator, isMinusOperator; | 19 show Token, isUserDefinableOperator, isMinusOperator; |
| 20 import '../tree/tree.dart'; | 20 import '../tree/tree.dart'; |
| 21 import '../util/characters.dart' show $_; | 21 import '../util/characters.dart' show $_; |
| 22 import '../util/util.dart'; | 22 import '../util/util.dart'; |
| 23 | |
| 24 import 'visitor.dart' show ElementVisitor; | 23 import 'visitor.dart' show ElementVisitor; |
| 25 | 24 |
| 26 part 'names.dart'; | 25 part 'names.dart'; |
| 27 | 26 |
| 28 const int STATE_NOT_STARTED = 0; | 27 const int STATE_NOT_STARTED = 0; |
| 29 const int STATE_STARTED = 1; | 28 const int STATE_STARTED = 1; |
| 30 const int STATE_DONE = 2; | 29 const int STATE_DONE = 2; |
| 31 | 30 |
| 32 class ElementCategory { | 31 class ElementCategory { |
| 33 /** | 32 /** |
| (...skipping 1822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1856 /// by a field. | 1855 /// by a field. |
| 1857 bool get isDeclaredByField; | 1856 bool get isDeclaredByField; |
| 1858 | 1857 |
| 1859 /// Returns `true` if this member is abstract. | 1858 /// Returns `true` if this member is abstract. |
| 1860 bool get isAbstract; | 1859 bool get isAbstract; |
| 1861 | 1860 |
| 1862 /// If abstract, [implementation] points to the overridden concrete member, | 1861 /// If abstract, [implementation] points to the overridden concrete member, |
| 1863 /// if any. Otherwise [implementation] points to the member itself. | 1862 /// if any. Otherwise [implementation] points to the member itself. |
| 1864 Member get implementation; | 1863 Member get implementation; |
| 1865 } | 1864 } |
| OLD | NEW |