| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 /// Convertion of elements between the analyzer element model and the dart2js | 5 /// Convertion of elements between the analyzer element model and the dart2js |
| 6 /// element model. | 6 /// element model. |
| 7 | 7 |
| 8 library analyzer2dart.element_converter; | 8 library analyzer2dart.element_converter; |
| 9 | 9 |
| 10 import 'package:compiler/implementation/elements/elements.dart' as dart2js; | 10 import 'package:compiler/implementation/elements/elements.dart' as dart2js; |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 } | 140 } |
| 141 | 141 |
| 142 @override | 142 @override |
| 143 dart2js.Element visitPropertyAccessorElement( | 143 dart2js.Element visitPropertyAccessorElement( |
| 144 analyzer.PropertyAccessorElement input) { | 144 analyzer.PropertyAccessorElement input) { |
| 145 if (input.isSynthetic) { | 145 if (input.isSynthetic) { |
| 146 return input.variable.accept(this); | 146 return input.variable.accept(this); |
| 147 } | 147 } |
| 148 return null; | 148 return null; |
| 149 } | 149 } |
| 150 |
| 151 @override |
| 152 dart2js.Element visitLocalVariableElement( |
| 153 analyzer.LocalVariableElement input) { |
| 154 return new LocalVariableElementY(converter, input); |
| 155 } |
| 150 } | 156 } |
| OLD | NEW |