| 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/entities.dart' show AsyncMarker; |
| 19 import '../elements/modelx.dart' | 20 import '../elements/modelx.dart' |
| 20 show | 21 show |
| 21 ConstructorElementX, | 22 ConstructorElementX, |
| 22 ErroneousElementX, | 23 ErroneousElementX, |
| 23 FunctionElementX, | 24 FunctionElementX, |
| 24 JumpTargetX, | 25 JumpTargetX, |
| 25 LocalFunctionElementX, | 26 LocalFunctionElementX, |
| 26 LocalParameterElementX, | 27 LocalParameterElementX, |
| 27 ParameterElementX, | 28 ParameterElementX, |
| 28 VariableElementX, | 29 VariableElementX, |
| (...skipping 4774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4803 } | 4804 } |
| 4804 return const NoneResult(); | 4805 return const NoneResult(); |
| 4805 } | 4806 } |
| 4806 } | 4807 } |
| 4807 | 4808 |
| 4808 /// Looks up [name] in [scope] and unwraps the result. | 4809 /// Looks up [name] in [scope] and unwraps the result. |
| 4809 Element lookupInScope( | 4810 Element lookupInScope( |
| 4810 DiagnosticReporter reporter, Node node, Scope scope, String name) { | 4811 DiagnosticReporter reporter, Node node, Scope scope, String name) { |
| 4811 return Elements.unwrap(scope.lookup(name), reporter, node); | 4812 return Elements.unwrap(scope.lookup(name), reporter, node); |
| 4812 } | 4813 } |
| OLD | NEW |