| 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 'package:front_end/src/fasta/parser/async_modifier.dart' | 7 import 'package:front_end/src/fasta/parser/async_modifier.dart' |
| 8 show AsyncModifier; | 8 show AsyncModifier; |
| 9 | 9 |
| 10 import '../common.dart'; | 10 import '../common.dart'; |
| 11 import '../common/resolution.dart' show Resolution; | 11 import '../common/resolution.dart' show Resolution; |
| 12 import '../constants/constructors.dart'; | 12 import '../constants/constructors.dart'; |
| 13 import '../constants/expressions.dart'; | 13 import '../constants/expressions.dart'; |
| 14 import '../common_elements.dart' show CommonElements; | 14 import '../common_elements.dart' show CommonElements; |
| 15 import '../ordered_typeset.dart' show OrderedTypeSet; | 15 import '../ordered_typeset.dart' show OrderedTypeSet; |
| 16 import '../resolution/scope.dart' show Scope; | 16 import '../resolution/scope.dart' show Scope; |
| 17 import '../resolution/tree_elements.dart' show TreeElements; | 17 import '../resolution/tree_elements.dart' show TreeElements; |
| 18 import '../script.dart'; | 18 import '../script.dart'; |
| 19 import 'package:front_end/src/fasta/scanner.dart' | 19 import 'package:front_end/src/fasta/scanner.dart' |
| 20 show Token, isUserDefinableOperator, isMinusOperator; | 20 show Token, isUserDefinableOperator, isMinusOperator; |
| 21 import '../tree/tree.dart' hide AsyncModifier; | 21 import '../tree/tree.dart' hide AsyncModifier; |
| 22 import '../universe/call_structure.dart'; | 22 import '../universe/call_structure.dart'; |
| 23 import 'package:front_end/src/fasta/scanner/characters.dart' show $_; | |
| 24 import '../util/util.dart'; | 23 import '../util/util.dart'; |
| 25 import '../world.dart' show ClosedWorld; | 24 import '../world.dart' show ClosedWorld; |
| 26 import 'entities.dart'; | 25 import 'entities.dart'; |
| 26 import 'names.dart'; |
| 27 import 'resolution_types.dart'; | 27 import 'resolution_types.dart'; |
| 28 import 'types.dart'; | 28 import 'types.dart'; |
| 29 import 'visitor.dart' show ElementVisitor; | 29 import 'visitor.dart' show ElementVisitor; |
| 30 | 30 |
| 31 part 'names.dart'; | |
| 32 | |
| 33 const int STATE_NOT_STARTED = 0; | 31 const int STATE_NOT_STARTED = 0; |
| 34 const int STATE_STARTED = 1; | 32 const int STATE_STARTED = 1; |
| 35 const int STATE_DONE = 2; | 33 const int STATE_DONE = 2; |
| 36 | 34 |
| 37 class ElementCategory { | 35 class ElementCategory { |
| 38 /** | 36 /** |
| 39 * Represents things that we don't expect to find when looking in a | 37 * Represents things that we don't expect to find when looking in a |
| 40 * scope. | 38 * scope. |
| 41 */ | 39 */ |
| 42 static const int NONE = 0; | 40 static const int NONE = 0; |
| (...skipping 1991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2034 /// by a field. | 2032 /// by a field. |
| 2035 bool get isDeclaredByField; | 2033 bool get isDeclaredByField; |
| 2036 | 2034 |
| 2037 /// Returns `true` if this member is abstract. | 2035 /// Returns `true` if this member is abstract. |
| 2038 bool get isAbstract; | 2036 bool get isAbstract; |
| 2039 | 2037 |
| 2040 /// If abstract, [implementation] points to the overridden concrete member, | 2038 /// If abstract, [implementation] points to the overridden concrete member, |
| 2041 /// if any. Otherwise [implementation] points to the member itself. | 2039 /// if any. Otherwise [implementation] points to the member itself. |
| 2042 Member get implementation; | 2040 Member get implementation; |
| 2043 } | 2041 } |
| OLD | NEW |