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; |
(...skipping 20 matching lines...) Expand all Loading... |
31 LocalVariableElementX, | 31 LocalVariableElementX, |
32 MethodElementX, | 32 MethodElementX, |
33 ParameterElementX, | 33 ParameterElementX, |
34 VariableElementX, | 34 VariableElementX, |
35 VariableList; | 35 VariableList; |
36 import '../tokens/token.dart' show | 36 import '../tokens/token.dart' show |
37 isUserDefinableOperator; | 37 isUserDefinableOperator; |
38 import '../tree/tree.dart'; | 38 import '../tree/tree.dart'; |
39 import '../util/util.dart' show | 39 import '../util/util.dart' show |
40 Link; | 40 Link; |
| 41 import '../universe/call_structure.dart' show |
| 42 CallStructure; |
| 43 import '../universe/selector.dart' show |
| 44 Selector; |
41 import '../universe/universe.dart' show | 45 import '../universe/universe.dart' show |
42 CallStructure, | |
43 Selector, | |
44 UniverseSelector; | 46 UniverseSelector; |
45 | 47 |
46 import 'access_semantics.dart'; | 48 import 'access_semantics.dart'; |
47 import 'class_members.dart' show MembersCreator; | 49 import 'class_members.dart' show MembersCreator; |
48 import 'operators.dart'; | 50 import 'operators.dart'; |
49 import 'send_structure.dart'; | 51 import 'send_structure.dart'; |
50 | 52 |
51 import 'constructors.dart' show | 53 import 'constructors.dart' show |
52 ConstructorResolver, | 54 ConstructorResolver, |
53 ConstructorResult; | 55 ConstructorResult; |
(...skipping 4610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4664 } | 4666 } |
4665 return const NoneResult(); | 4667 return const NoneResult(); |
4666 } | 4668 } |
4667 } | 4669 } |
4668 | 4670 |
4669 /// Looks up [name] in [scope] and unwraps the result. | 4671 /// Looks up [name] in [scope] and unwraps the result. |
4670 Element lookupInScope(Compiler compiler, Node node, | 4672 Element lookupInScope(Compiler compiler, Node node, |
4671 Scope scope, String name) { | 4673 Scope scope, String name) { |
4672 return Elements.unwrap(scope.lookup(name), compiler, node); | 4674 return Elements.unwrap(scope.lookup(name), compiler, node); |
4673 } | 4675 } |
OLD | NEW |