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

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

Issue 707463003: Support enums in dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 6 years, 1 month 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/apiimpl.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 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 @override 639 @override
640 dart2js.DartType get supertype => unsupported('supertype'); 640 dart2js.DartType get supertype => unsupported('supertype');
641 641
642 @override 642 @override
643 int get supertypeLoadState => unsupported('supertypeLoadState'); 643 int get supertypeLoadState => unsupported('supertypeLoadState');
644 644
645 @override 645 @override
646 validateConstructorLookupResults(selector, result, noMatch) { 646 validateConstructorLookupResults(selector, result, noMatch) {
647 unsupported('validateConstructorLookupResults'); 647 unsupported('validateConstructorLookupResults');
648 } 648 }
649
650 @override
651 bool get isEnumClass => unsupported('isEnum');
649 } 652 }
650 653
651 class TypedefElementY extends TypeDeclarationElementY 654 class TypedefElementY extends TypeDeclarationElementY
652 implements dart2js.TypedefElement { 655 implements dart2js.TypedefElement {
653 656
654 analyzer.FunctionTypeAliasElement get element => super.element; 657 analyzer.FunctionTypeAliasElement get element => super.element;
655 658
656 dart2js.ElementKind get kind => dart2js.ElementKind.TYPEDEF; 659 dart2js.ElementKind get kind => dart2js.ElementKind.TYPEDEF;
657 660
658 TypedefElementY(ElementConverter converter, 661 TypedefElementY(ElementConverter converter,
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 776
774 @override 777 @override
775 bool get isRedirectingFactory => unsupported('isRedirectingFactory'); 778 bool get isRedirectingFactory => unsupported('isRedirectingFactory');
776 779
777 @override 780 @override
778 get nestedClosures => unsupported('nestedClosures'); 781 get nestedClosures => unsupported('nestedClosures');
779 782
780 @override 783 @override
781 get type => unsupported('type'); 784 get type => unsupported('type');
782 } 785 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/apiimpl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698