OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 part of dart2js.mirrors; | 5 part of dart2js.mirrors; |
6 | 6 |
7 //------------------------------------------------------------------------------ | 7 //------------------------------------------------------------------------------ |
8 // Member mirrors implementation. | 8 // Member mirrors implementation. |
9 //------------------------------------------------------------------------------ | 9 //------------------------------------------------------------------------------ |
10 | 10 |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 bool isNamed) | 230 bool isNamed) |
231 : super._normal(method, element, isOptional, isNamed); | 231 : super._normal(method, element, isOptional, isNamed); |
232 | 232 |
233 InitializingFormalElement get _fieldParameterElement => _element; | 233 InitializingFormalElement get _fieldParameterElement => _element; |
234 | 234 |
235 bool get isInitializingFormal => true; | 235 bool get isInitializingFormal => true; |
236 | 236 |
237 VariableMirror get initializedField => new Dart2JsFieldMirror( | 237 VariableMirror get initializedField => new Dart2JsFieldMirror( |
238 owner.owner, _fieldParameterElement.fieldElement); | 238 owner.owner, _fieldParameterElement.fieldElement); |
239 } | 239 } |
OLD | NEW |