| 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 part of analyzer2dart.element_converter; | 5 part of analyzer2dart.element_converter; |
| 6 | 6 |
| 7 | 7 |
| 8 /// Base [dart2js.Element] implementation for converted analyzer elements. | 8 /// Base [dart2js.Element] implementation for converted analyzer elements. |
| 9 class ElementY extends dart2js.Element { | 9 class ElementY extends dart2js.Element { |
| 10 final ElementConverter converter; | 10 final ElementConverter converter; |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 computeSignature(_) => unsupported('computeSignature'); | 354 computeSignature(_) => unsupported('computeSignature'); |
| 355 | 355 |
| 356 @override | 356 @override |
| 357 get memberContext => unsupported('memberContext'); | 357 get memberContext => unsupported('memberContext'); |
| 358 | 358 |
| 359 @override | 359 @override |
| 360 get functionSignature => unsupported('functionSignature'); | 360 get functionSignature => unsupported('functionSignature'); |
| 361 | 361 |
| 362 @override | 362 @override |
| 363 bool get hasFunctionSignature => unsupported('hasFunctionSignature'); | 363 bool get hasFunctionSignature => unsupported('hasFunctionSignature'); |
| 364 |
| 365 @override |
| 366 get asyncMarker => unsupported('asyncMarker'); |
| 364 } | 367 } |
| 365 | 368 |
| 366 class TopLevelFunctionElementY extends ElementY | 369 class TopLevelFunctionElementY extends ElementY |
| 367 with AnalyzableElementY, | 370 with AnalyzableElementY, |
| 368 AstElementY, | 371 AstElementY, |
| 369 TopLevelElementMixin, | 372 TopLevelElementMixin, |
| 370 FunctionElementMixin | 373 FunctionElementMixin |
| 371 implements dart2js.FunctionElement { | 374 implements dart2js.FunctionElement { |
| 372 analyzer.FunctionElement get element => super.element; | 375 analyzer.FunctionElement get element => super.element; |
| 373 | 376 |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 734 | 737 |
| 735 @override | 738 @override |
| 736 bool get isRedirectingFactory => unsupported('isRedirectingFactory'); | 739 bool get isRedirectingFactory => unsupported('isRedirectingFactory'); |
| 737 | 740 |
| 738 @override | 741 @override |
| 739 get nestedClosures => unsupported('nestedClosures'); | 742 get nestedClosures => unsupported('nestedClosures'); |
| 740 | 743 |
| 741 @override | 744 @override |
| 742 get type => unsupported('type'); | 745 get type => unsupported('type'); |
| 743 } | 746 } |
| OLD | NEW |