| 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 1554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1565 | 1565 |
| 1566 @override | 1566 @override |
| 1567 MemberElement get memberContext => this; | 1567 MemberElement get memberContext => this; |
| 1568 | 1568 |
| 1569 @override | 1569 @override |
| 1570 Name get memberName => new Name(name, library); | 1570 Name get memberName => new Name(name, library); |
| 1571 | 1571 |
| 1572 @override | 1572 @override |
| 1573 bool get isInjected => _decoder.getBool(Key.IS_INJECTED); | 1573 bool get isInjected => _decoder.getBool(Key.IS_INJECTED); |
| 1574 | 1574 |
| 1575 @override | |
| 1576 void forgetElement() { | 1575 void forgetElement() { |
| 1577 nestedClosures.clear(); | 1576 nestedClosures.clear(); |
| 1578 } | 1577 } |
| 1579 } | 1578 } |
| 1580 | 1579 |
| 1581 abstract class FieldElementZ extends DeserializedElementZ | 1580 abstract class FieldElementZ extends DeserializedElementZ |
| 1582 with | 1581 with |
| 1583 AnalyzableElementMixin, | 1582 AnalyzableElementMixin, |
| 1584 AstElementMixinZ, | 1583 AstElementMixinZ, |
| 1585 TypedElementMixin, | 1584 TypedElementMixin, |
| (...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2406 } | 2405 } |
| 2407 | 2406 |
| 2408 @override | 2407 @override |
| 2409 Node get node => throw new UnsupportedError('${this}.node'); | 2408 Node get node => throw new UnsupportedError('${this}.node'); |
| 2410 | 2409 |
| 2411 @override | 2410 @override |
| 2412 bool get hasNode => false; | 2411 bool get hasNode => false; |
| 2413 | 2412 |
| 2414 String toString() => 'MetadataAnnotationZ(${constant.toDartText()})'; | 2413 String toString() => 'MetadataAnnotationZ(${constant.toDartText()})'; |
| 2415 } | 2414 } |
| OLD | NEW |