Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Side by Side Diff: pkg/analyzer2dart/lib/src/modely.dart

Issue 868643002: Revert "Change signature of lookupConstructor to only require a name." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compile_time_constants.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
654 bool get isEnumClass => unsupported('isEnum'); 659 bool get isEnumClass => unsupported('isEnum');
655 } 660 }
656 661
657 class TypedefElementY extends TypeDeclarationElementY 662 class TypedefElementY extends TypeDeclarationElementY
658 implements dart2js.TypedefElement { 663 implements dart2js.TypedefElement {
659 664
660 analyzer.FunctionTypeAliasElement get element => super.element; 665 analyzer.FunctionTypeAliasElement get element => super.element;
661 666
662 dart2js.ElementKind get kind => dart2js.ElementKind.TYPEDEF; 667 dart2js.ElementKind get kind => dart2js.ElementKind.TYPEDEF;
663 668
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 790
786 @override 791 @override
787 bool get isRedirectingFactory => unsupported('isRedirectingFactory'); 792 bool get isRedirectingFactory => unsupported('isRedirectingFactory');
788 793
789 @override 794 @override
790 get nestedClosures => unsupported('nestedClosures'); 795 get nestedClosures => unsupported('nestedClosures');
791 796
792 @override 797 @override
793 get type => unsupported('type'); 798 get type => unsupported('type');
794 } 799 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compile_time_constants.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698