| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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.signatures; | 5 library dart2js.resolution.signatures; |
| 6 | 6 |
| 7 import '../common.dart'; | 7 import '../common.dart'; |
| 8 import '../common/resolution.dart'; | 8 import '../common/resolution.dart'; |
| 9 import '../elements/resolution_types.dart'; | 9 import '../elements/resolution_types.dart'; |
| 10 import '../elements/elements.dart'; | 10 import '../elements/elements.dart'; |
| 11 import '../elements/modelx.dart' | 11 import '../elements/modelx.dart' |
| 12 show | 12 show |
| 13 ErroneousFieldElementX, | 13 ErroneousFieldElementX, |
| 14 ErroneousInitializingFormalElementX, | 14 ErroneousInitializingFormalElementX, |
| 15 FormalElementX, | 15 FormalElementX, |
| 16 FunctionSignatureX, | 16 FunctionSignatureX, |
| 17 InitializingFormalElementX, | 17 InitializingFormalElementX, |
| 18 LocalParameterElementX, | 18 LocalParameterElementX, |
| 19 TypeVariableElementX; | 19 TypeVariableElementX; |
| 20 import '../elements/names.dart'; |
| 20 import '../tree/tree.dart'; | 21 import '../tree/tree.dart'; |
| 21 import '../util/util.dart' show Link, LinkBuilder; | 22 import '../util/util.dart' show Link, LinkBuilder; |
| 22 import 'members.dart' show ResolverVisitor; | 23 import 'members.dart' show ResolverVisitor; |
| 23 import 'registry.dart' show ResolutionRegistry; | 24 import 'registry.dart' show ResolutionRegistry; |
| 24 import 'resolution_common.dart' show MappingVisitor; | 25 import 'resolution_common.dart' show MappingVisitor; |
| 25 import 'scope.dart' show Scope, TypeVariablesScope; | 26 import 'scope.dart' show Scope, TypeVariablesScope; |
| 26 | 27 |
| 27 /** | 28 /** |
| 28 * [SignatureResolver] resolves function signatures. | 29 * [SignatureResolver] resolves function signatures. |
| 29 */ | 30 */ |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 /// variables of the function signature itself when its signature is analyzed. | 504 /// variables of the function signature itself when its signature is analyzed. |
| 504 class FunctionSignatureBuildingScope extends TypeVariablesScope { | 505 class FunctionSignatureBuildingScope extends TypeVariablesScope { |
| 505 @override | 506 @override |
| 506 final List<ResolutionDartType> typeVariables; | 507 final List<ResolutionDartType> typeVariables; |
| 507 | 508 |
| 508 FunctionSignatureBuildingScope(Scope parent, this.typeVariables) | 509 FunctionSignatureBuildingScope(Scope parent, this.typeVariables) |
| 509 : super(parent); | 510 : super(parent); |
| 510 | 511 |
| 511 String toString() => 'FunctionSignatureBuildingScope($typeVariables)'; | 512 String toString() => 'FunctionSignatureBuildingScope($typeVariables)'; |
| 512 } | 513 } |
| OLD | NEW |