| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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.selector; | 5 library dart2js.selector; |
| 6 | 6 |
| 7 import '../common.dart'; |
| 7 import '../common/names.dart' show | 8 import '../common/names.dart' show |
| 8 Names; | 9 Names; |
| 9 import '../diagnostics/spannable.dart' show | |
| 10 SpannableAssertionFailure; | |
| 11 import '../elements/elements.dart' show | 10 import '../elements/elements.dart' show |
| 12 Element, | 11 Element, |
| 13 Elements, | 12 Elements, |
| 14 FunctionElement, | 13 FunctionElement, |
| 15 FunctionSignature, | 14 FunctionSignature, |
| 16 Name, | 15 Name, |
| 17 LibraryElement, | 16 LibraryElement, |
| 18 PublicName; | 17 PublicName; |
| 19 import '../util/util.dart' show | 18 import '../util/util.dart' show |
| 20 Hashing; | 19 Hashing; |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 // Add bits from the call structure. | 273 // Add bits from the call structure. |
| 275 return Hashing.mixHashCodeBits(hash, callStructure.hashCode); | 274 return Hashing.mixHashCodeBits(hash, callStructure.hashCode); |
| 276 } | 275 } |
| 277 | 276 |
| 278 String toString() { | 277 String toString() { |
| 279 return 'Selector($kind, $name, ${callStructure.structureToString()})'; | 278 return 'Selector($kind, $name, ${callStructure.structureToString()})'; |
| 280 } | 279 } |
| 281 | 280 |
| 282 Selector toCallSelector() => new Selector.callClosureFrom(this); | 281 Selector toCallSelector() => new Selector.callClosureFrom(this); |
| 283 } | 282 } |
| OLD | NEW |