| 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/names.dart' show | 7 import '../common/names.dart' show |
| 8 Selectors; | 8 Selectors; |
| 9 import '../compiler.dart' show | 9 import '../compiler.dart' show |
| 10 Compiler, | 10 Compiler; |
| 11 isPrivateName; | |
| 12 import '../constants/constructors.dart' show | 11 import '../constants/constructors.dart' show |
| 13 RedirectingFactoryConstantConstructor; | 12 RedirectingFactoryConstantConstructor; |
| 14 import '../constants/expressions.dart'; | 13 import '../constants/expressions.dart'; |
| 15 import '../constants/values.dart'; | 14 import '../constants/values.dart'; |
| 16 import '../core_types.dart'; | 15 import '../core_types.dart'; |
| 17 import '../dart_types.dart'; | 16 import '../dart_types.dart'; |
| 18 import '../diagnostics/invariant.dart' show | 17 import '../diagnostics/invariant.dart' show |
| 19 invariant; | 18 invariant; |
| 20 import '../diagnostics/messages.dart' show | 19 import '../diagnostics/messages.dart' show |
| 21 MessageKind; | 20 MessageKind; |
| (...skipping 4623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4645 } | 4644 } |
| 4646 return const NoneResult(); | 4645 return const NoneResult(); |
| 4647 } | 4646 } |
| 4648 } | 4647 } |
| 4649 | 4648 |
| 4650 /// Looks up [name] in [scope] and unwraps the result. | 4649 /// Looks up [name] in [scope] and unwraps the result. |
| 4651 Element lookupInScope(Compiler compiler, Node node, | 4650 Element lookupInScope(Compiler compiler, Node node, |
| 4652 Scope scope, String name) { | 4651 Scope scope, String name) { |
| 4653 return Elements.unwrap(scope.lookup(name), compiler, node); | 4652 return Elements.unwrap(scope.lookup(name), compiler, node); |
| 4654 } | 4653 } |
| OLD | NEW |