| OLD | NEW | 
|---|
| 1 // Copyright (c) 2016, the Dart project authors.  Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 /** | 5 /** | 
| 6  * This library is capable of producing linked summaries from unlinked | 6  * This library is capable of producing linked summaries from unlinked | 
| 7  * ones (or prelinked ones).  It functions by building a miniature | 7  * ones (or prelinked ones).  It functions by building a miniature | 
| 8  * element model to represent the contents of the summaries, and then | 8  * element model to represent the contents of the summaries, and then | 
| 9  * scanning the element model to gather linked information and adding | 9  * scanning the element model to gather linked information and adding | 
| 10  * it to the summary data structures. | 10  * it to the summary data structures. | 
| (...skipping 1043 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1054             enclosingElement._getDependency(linkedReference.dependency); | 1054             enclosingElement._getDependency(linkedReference.dependency); | 
| 1055         _references[index] = dependency.getContainedName(name); | 1055         _references[index] = dependency.getContainedName(name); | 
| 1056       } | 1056       } | 
| 1057     } | 1057     } | 
| 1058     return _references[index]; | 1058     return _references[index]; | 
| 1059   } | 1059   } | 
| 1060 | 1060 | 
| 1061   @override | 1061   @override | 
| 1062   DartType resolveTypeRef( | 1062   DartType resolveTypeRef( | 
| 1063       EntityRef type, TypeParameterizedElementMixin typeParameterContext, | 1063       EntityRef type, TypeParameterizedElementMixin typeParameterContext, | 
| 1064       {bool defaultVoid: false, bool instantiateToBoundsAllowed: true}) { | 1064       {bool defaultVoid: false, | 
|  | 1065       bool instantiateToBoundsAllowed: true, | 
|  | 1066       bool declaredType: false}) { | 
| 1065     if (type == null) { | 1067     if (type == null) { | 
| 1066       if (defaultVoid) { | 1068       if (defaultVoid) { | 
| 1067         return VoidTypeImpl.instance; | 1069         return VoidTypeImpl.instance; | 
| 1068       } else { | 1070       } else { | 
| 1069         return DynamicTypeImpl.instance; | 1071         return DynamicTypeImpl.instance; | 
| 1070       } | 1072       } | 
| 1071     } | 1073     } | 
| 1072     if (type.paramReference != 0) { | 1074     if (type.paramReference != 0) { | 
| 1073       return typeParameterContext.getTypeParameterType(type.paramReference); | 1075       return typeParameterContext.getTypeParameterType(type.paramReference); | 
| 1074     } else if (type.syntheticReturnType != null) { | 1076     } else if (type.syntheticReturnType != null) { | 
| (...skipping 3927 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 5002    * there are no type parameters in scope. | 5004    * there are no type parameters in scope. | 
| 5003    */ | 5005    */ | 
| 5004   TypeParameterizedElementMixin get _typeParameterContext; | 5006   TypeParameterizedElementMixin get _typeParameterContext; | 
| 5005 | 5007 | 
| 5006   @override | 5008   @override | 
| 5007   noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 5009   noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 
| 5008 | 5010 | 
| 5009   @override | 5011   @override | 
| 5010   String toString() => '$enclosingElement.$name'; | 5012   String toString() => '$enclosingElement.$name'; | 
| 5011 } | 5013 } | 
| OLD | NEW | 
|---|