| 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 dart2js.resolution.members; | 5 library dart2js.resolution.members; |
| 6 | 6 |
| 7 import 'package:front_end/src/fasta/scanner.dart' show isUserDefinableOperator; | 7 import 'package:front_end/src/fasta/scanner.dart' show isUserDefinableOperator; |
| 8 | 8 |
| 9 import '../common.dart'; | 9 import '../common.dart'; |
| 10 import '../common/names.dart' show Selectors; | 10 import '../common/names.dart' show Selectors; |
| 11 import '../common/resolution.dart' show Resolution; | 11 import '../common/resolution.dart' show Resolution; |
| 12 import '../compile_time_constants.dart'; | 12 import '../compile_time_constants.dart'; |
| 13 import '../constants/constructors.dart' | 13 import '../constants/constructors.dart' |
| 14 show RedirectingFactoryConstantConstructor; | 14 show RedirectingFactoryConstantConstructor; |
| 15 import '../constants/expressions.dart'; | 15 import '../constants/expressions.dart'; |
| 16 import '../constants/values.dart'; | 16 import '../constants/values.dart'; |
| 17 import '../common_elements.dart'; | 17 import '../common_elements.dart'; |
| 18 import '../elements/elements.dart'; | 18 import '../elements/elements.dart'; |
| 19 import '../elements/modelx.dart' | 19 import '../elements/modelx.dart' |
| 20 show | 20 show |
| 21 ConstructorElementX, | 21 ConstructorElementX, |
| 22 ErroneousElementX, | 22 ErroneousElementX, |
| 23 FunctionElementX, | 23 FunctionElementX, |
| 24 JumpTargetX, | 24 JumpTargetX, |
| 25 LocalFunctionElementX, | 25 LocalFunctionElementX, |
| 26 LocalParameterElementX, | 26 LocalParameterElementX, |
| 27 ParameterElementX, | 27 ParameterElementX, |
| 28 VariableElementX, | 28 VariableElementX, |
| 29 VariableList; | 29 VariableList; |
| 30 import '../elements/names.dart'; |
| 30 import '../elements/operators.dart'; | 31 import '../elements/operators.dart'; |
| 31 import '../elements/resolution_types.dart'; | 32 import '../elements/resolution_types.dart'; |
| 32 import '../options.dart'; | 33 import '../options.dart'; |
| 33 import '../tree/tree.dart'; | 34 import '../tree/tree.dart'; |
| 34 import '../universe/call_structure.dart' show CallStructure; | 35 import '../universe/call_structure.dart' show CallStructure; |
| 35 import '../universe/feature.dart' show Feature; | 36 import '../universe/feature.dart' show Feature; |
| 36 import '../universe/selector.dart' show Selector; | 37 import '../universe/selector.dart' show Selector; |
| 37 import '../universe/use.dart' show DynamicUse, StaticUse, TypeUse; | 38 import '../universe/use.dart' show DynamicUse, StaticUse, TypeUse; |
| 38 import '../util/util.dart' show Link; | 39 import '../util/util.dart' show Link; |
| 39 import 'access_semantics.dart'; | 40 import 'access_semantics.dart'; |
| (...skipping 4761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4801 } | 4802 } |
| 4802 return const NoneResult(); | 4803 return const NoneResult(); |
| 4803 } | 4804 } |
| 4804 } | 4805 } |
| 4805 | 4806 |
| 4806 /// Looks up [name] in [scope] and unwraps the result. | 4807 /// Looks up [name] in [scope] and unwraps the result. |
| 4807 Element lookupInScope( | 4808 Element lookupInScope( |
| 4808 DiagnosticReporter reporter, Node node, Scope scope, String name) { | 4809 DiagnosticReporter reporter, Node node, Scope scope, String name) { |
| 4809 return Elements.unwrap(scope.lookup(name), reporter, node); | 4810 return Elements.unwrap(scope.lookup(name), reporter, node); |
| 4810 } | 4811 } |
| OLD | NEW |