| 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 '../common.dart'; | 7 import '../common.dart'; |
| 8 import '../common/names.dart' show Selectors; | 8 import '../common/names.dart' show Selectors; |
| 9 import '../common/resolution.dart' show Resolution; | 9 import '../common/resolution.dart' show Resolution; |
| 10 import '../compile_time_constants.dart'; | 10 import '../compile_time_constants.dart'; |
| 11 import '../constants/constructors.dart' | 11 import '../constants/constructors.dart' |
| 12 show RedirectingFactoryConstantConstructor; | 12 show RedirectingFactoryConstantConstructor; |
| 13 import '../constants/expressions.dart'; | 13 import '../constants/expressions.dart'; |
| 14 import '../constants/values.dart'; | 14 import '../constants/values.dart'; |
| 15 import '../core_types.dart'; | 15 import '../core_types.dart'; |
| 16 import '../dart_types.dart'; | 16 import '../elements/resolution_types.dart'; |
| 17 import '../elements/elements.dart'; | 17 import '../elements/elements.dart'; |
| 18 import '../elements/modelx.dart' | 18 import '../elements/modelx.dart' |
| 19 show | 19 show |
| 20 ConstructorElementX, | 20 ConstructorElementX, |
| 21 ErroneousElementX, | 21 ErroneousElementX, |
| 22 FunctionElementX, | 22 FunctionElementX, |
| 23 JumpTargetX, | 23 JumpTargetX, |
| 24 LocalFunctionElementX, | 24 LocalFunctionElementX, |
| 25 LocalParameterElementX, | 25 LocalParameterElementX, |
| 26 ParameterElementX, | 26 ParameterElementX, |
| (...skipping 4723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4750 } | 4750 } |
| 4751 return const NoneResult(); | 4751 return const NoneResult(); |
| 4752 } | 4752 } |
| 4753 } | 4753 } |
| 4754 | 4754 |
| 4755 /// Looks up [name] in [scope] and unwraps the result. | 4755 /// Looks up [name] in [scope] and unwraps the result. |
| 4756 Element lookupInScope( | 4756 Element lookupInScope( |
| 4757 DiagnosticReporter reporter, Node node, Scope scope, String name) { | 4757 DiagnosticReporter reporter, Node node, Scope scope, String name) { |
| 4758 return Elements.unwrap(scope.lookup(name), reporter, node); | 4758 return Elements.unwrap(scope.lookup(name), reporter, node); |
| 4759 } | 4759 } |
| OLD | NEW |