| 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 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 // TODO(johnniwinther): Semantic difference: Dart2js points to unnamed | 644 // TODO(johnniwinther): Semantic difference: Dart2js points to unnamed |
| 645 // mixin applications, analyzer points to the type in the extends clause or | 645 // mixin applications, analyzer points to the type in the extends clause or |
| 646 // Object if omitted. | 646 // Object if omitted. |
| 647 @override | 647 @override |
| 648 dart2js.DartType get supertype => unsupported('supertype'); | 648 dart2js.DartType get supertype => unsupported('supertype'); |
| 649 | 649 |
| 650 @override | 650 @override |
| 651 int get supertypeLoadState => unsupported('supertypeLoadState'); | 651 int get supertypeLoadState => unsupported('supertypeLoadState'); |
| 652 | 652 |
| 653 @override | 653 @override |
| 654 validateConstructorLookupResults(selector, result, noMatch) { | |
| 655 unsupported('validateConstructorLookupResults'); | |
| 656 } | |
| 657 | |
| 658 @override | |
| 659 bool get isEnumClass => unsupported('isEnum'); | 654 bool get isEnumClass => unsupported('isEnum'); |
| 660 } | 655 } |
| 661 | 656 |
| 662 class TypedefElementY extends TypeDeclarationElementY | 657 class TypedefElementY extends TypeDeclarationElementY |
| 663 implements dart2js.TypedefElement { | 658 implements dart2js.TypedefElement { |
| 664 | 659 |
| 665 analyzer.FunctionTypeAliasElement get element => super.element; | 660 analyzer.FunctionTypeAliasElement get element => super.element; |
| 666 | 661 |
| 667 dart2js.ElementKind get kind => dart2js.ElementKind.TYPEDEF; | 662 dart2js.ElementKind get kind => dart2js.ElementKind.TYPEDEF; |
| 668 | 663 |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 790 | 785 |
| 791 @override | 786 @override |
| 792 bool get isRedirectingFactory => unsupported('isRedirectingFactory'); | 787 bool get isRedirectingFactory => unsupported('isRedirectingFactory'); |
| 793 | 788 |
| 794 @override | 789 @override |
| 795 get nestedClosures => unsupported('nestedClosures'); | 790 get nestedClosures => unsupported('nestedClosures'); |
| 796 | 791 |
| 797 @override | 792 @override |
| 798 get type => unsupported('type'); | 793 get type => unsupported('type'); |
| 799 } | 794 } |
| OLD | NEW |