| 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 2134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2145 @override | 2145 @override |
| 2146 accept(ElementVisitor visitor, arg) { | 2146 accept(ElementVisitor visitor, arg) { |
| 2147 return visitor.visitParameterElement(this, arg); | 2147 return visitor.visitParameterElement(this, arg); |
| 2148 } | 2148 } |
| 2149 | 2149 |
| 2150 @override | 2150 @override |
| 2151 bool get isLocal => true; | 2151 bool get isLocal => true; |
| 2152 | 2152 |
| 2153 @override | 2153 @override |
| 2154 ElementKind get kind => ElementKind.PARAMETER; | 2154 ElementKind get kind => ElementKind.PARAMETER; |
| 2155 | |
| 2156 @override | |
| 2157 bool get isUnnamed => false; | |
| 2158 } | 2155 } |
| 2159 | 2156 |
| 2160 class InitializingFormalElementZ extends LocalParameterElementZ | 2157 class InitializingFormalElementZ extends LocalParameterElementZ |
| 2161 implements InitializingFormalElement { | 2158 implements InitializingFormalElement { |
| 2162 FieldElement _fieldElement; | 2159 FieldElement _fieldElement; |
| 2163 | 2160 |
| 2164 InitializingFormalElementZ(ObjectDecoder decoder) : super(decoder); | 2161 InitializingFormalElementZ(ObjectDecoder decoder) : super(decoder); |
| 2165 | 2162 |
| 2166 @override | 2163 @override |
| 2167 FieldElement get fieldElement { | 2164 FieldElement get fieldElement { |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2409 } | 2406 } |
| 2410 | 2407 |
| 2411 @override | 2408 @override |
| 2412 Node get node => throw new UnsupportedError('${this}.node'); | 2409 Node get node => throw new UnsupportedError('${this}.node'); |
| 2413 | 2410 |
| 2414 @override | 2411 @override |
| 2415 bool get hasNode => false; | 2412 bool get hasNode => false; |
| 2416 | 2413 |
| 2417 String toString() => 'MetadataAnnotationZ(${constant.toDartText()})'; | 2414 String toString() => 'MetadataAnnotationZ(${constant.toDartText()})'; |
| 2418 } | 2415 } |
| OLD | NEW |