| 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; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 show | 21 show |
| 22 ConstructorElementX, | 22 ConstructorElementX, |
| 23 ErroneousElementX, | 23 ErroneousElementX, |
| 24 FunctionElementX, | 24 FunctionElementX, |
| 25 JumpTargetX, | 25 JumpTargetX, |
| 26 LocalFunctionElementX, | 26 LocalFunctionElementX, |
| 27 LocalParameterElementX, | 27 LocalParameterElementX, |
| 28 ParameterElementX, | 28 ParameterElementX, |
| 29 VariableElementX, | 29 VariableElementX, |
| 30 VariableList; | 30 VariableList; |
| 31 import '../elements/jumps.dart'; |
| 31 import '../elements/names.dart'; | 32 import '../elements/names.dart'; |
| 32 import '../elements/operators.dart'; | 33 import '../elements/operators.dart'; |
| 33 import '../elements/resolution_types.dart'; | 34 import '../elements/resolution_types.dart'; |
| 34 import '../options.dart'; | 35 import '../options.dart'; |
| 35 import '../tree/tree.dart'; | 36 import '../tree/tree.dart'; |
| 36 import '../universe/call_structure.dart' show CallStructure; | 37 import '../universe/call_structure.dart' show CallStructure; |
| 37 import '../universe/feature.dart' show Feature; | 38 import '../universe/feature.dart' show Feature; |
| 38 import '../universe/selector.dart' show Selector; | 39 import '../universe/selector.dart' show Selector; |
| 39 import '../universe/use.dart' show DynamicUse, StaticUse, TypeUse; | 40 import '../universe/use.dart' show DynamicUse, StaticUse, TypeUse; |
| 40 import '../util/util.dart' show Link; | 41 import '../util/util.dart' show Link; |
| (...skipping 4771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4812 } | 4813 } |
| 4813 return const NoneResult(); | 4814 return const NoneResult(); |
| 4814 } | 4815 } |
| 4815 } | 4816 } |
| 4816 | 4817 |
| 4817 /// Looks up [name] in [scope] and unwraps the result. | 4818 /// Looks up [name] in [scope] and unwraps the result. |
| 4818 Element lookupInScope( | 4819 Element lookupInScope( |
| 4819 DiagnosticReporter reporter, Node node, Scope scope, String name) { | 4820 DiagnosticReporter reporter, Node node, Scope scope, String name) { |
| 4820 return Elements.unwrap(scope.lookup(name), reporter, node); | 4821 return Elements.unwrap(scope.lookup(name), reporter, node); |
| 4821 } | 4822 } |
| OLD | NEW |