| 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 Feature, Resolution; | 9 import '../common/resolution.dart' show Feature, 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 '../dart_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 InitializingFormalElementX, | |
| 24 JumpTargetX, | 23 JumpTargetX, |
| 25 LocalFunctionElementX, | 24 LocalFunctionElementX, |
| 26 LocalParameterElementX, | 25 LocalParameterElementX, |
| 27 ParameterElementX, | 26 ParameterElementX, |
| 28 VariableElementX, | 27 VariableElementX, |
| 29 VariableList; | 28 VariableList; |
| 30 import '../options.dart'; | 29 import '../options.dart'; |
| 31 import '../tokens/token.dart' show isUserDefinableOperator; | 30 import '../tokens/token.dart' show isUserDefinableOperator; |
| 32 import '../tree/tree.dart'; | 31 import '../tree/tree.dart'; |
| 33 import '../universe/call_structure.dart' show CallStructure; | 32 import '../universe/call_structure.dart' show CallStructure; |
| (...skipping 4684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4718 } | 4717 } |
| 4719 return const NoneResult(); | 4718 return const NoneResult(); |
| 4720 } | 4719 } |
| 4721 } | 4720 } |
| 4722 | 4721 |
| 4723 /// Looks up [name] in [scope] and unwraps the result. | 4722 /// Looks up [name] in [scope] and unwraps the result. |
| 4724 Element lookupInScope( | 4723 Element lookupInScope( |
| 4725 DiagnosticReporter reporter, Node node, Scope scope, String name) { | 4724 DiagnosticReporter reporter, Node node, Scope scope, String name) { |
| 4726 return Elements.unwrap(scope.lookup(name), reporter, node); | 4725 return Elements.unwrap(scope.lookup(name), reporter, node); |
| 4727 } | 4726 } |
| OLD | NEW |