| 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 /// Implementation of the element model used for deserialiation. | 5 /// Implementation of the element model used for deserialiation. |
| 6 /// | 6 /// |
| 7 /// These classes are created by [ElementDeserializer] triggered by the | 7 /// These classes are created by [ElementDeserializer] triggered by the |
| 8 /// [Deserializer]. | 8 /// [Deserializer]. |
| 9 | 9 |
| 10 library dart2js.serialization.modelz; | 10 library dart2js.serialization.modelz; |
| (...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1249 @override | 1249 @override |
| 1250 accept(ElementVisitor visitor, arg) { | 1250 accept(ElementVisitor visitor, arg) { |
| 1251 return visitor.visitConstructorElement(this, arg); | 1251 return visitor.visitConstructorElement(this, arg); |
| 1252 } | 1252 } |
| 1253 | 1253 |
| 1254 @override | 1254 @override |
| 1255 AsyncMarker get asyncMarker => AsyncMarker.SYNC; | 1255 AsyncMarker get asyncMarker => AsyncMarker.SYNC; |
| 1256 | 1256 |
| 1257 @override | 1257 @override |
| 1258 InterfaceType computeEffectiveTargetType(InterfaceType newType) { | 1258 InterfaceType computeEffectiveTargetType(InterfaceType newType) { |
| 1259 return enclosingClass.thisType; | 1259 return enclosingClass.thisType.substByContext(newType); |
| 1260 } | 1260 } |
| 1261 | 1261 |
| 1262 @override | 1262 @override |
| 1263 DartType computeType(Resolution resolution) => type; | 1263 DartType computeType(Resolution resolution) => type; |
| 1264 | 1264 |
| 1265 @override | 1265 @override |
| 1266 bool get isConst => false; | 1266 bool get isConst => false; |
| 1267 | 1267 |
| 1268 @override | 1268 @override |
| 1269 ConstantConstructor get constantConstructor => null; | 1269 ConstantConstructor get constantConstructor => null; |
| (...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2121 } | 2121 } |
| 2122 | 2122 |
| 2123 @override | 2123 @override |
| 2124 ElementKind get kind => ElementKind.PREFIX; | 2124 ElementKind get kind => ElementKind.PREFIX; |
| 2125 | 2125 |
| 2126 @override | 2126 @override |
| 2127 Element lookupLocalMember(String memberName) { | 2127 Element lookupLocalMember(String memberName) { |
| 2128 return _unsupported('lookupLocalMember'); | 2128 return _unsupported('lookupLocalMember'); |
| 2129 } | 2129 } |
| 2130 } | 2130 } |
| OLD | NEW |