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

Unified Diff: pkg/compiler/lib/src/elements/elements.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/dart2js.dart ('k') | pkg/compiler/lib/src/elements/modelx.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/elements/elements.dart
diff --git a/pkg/compiler/lib/src/elements/elements.dart b/pkg/compiler/lib/src/elements/elements.dart
index 442e12b22701773a76c374dde646b3d4dcc2f264..eabc9913363e6283e3c2ed9bc653d7bdf9bd264b 100644
--- a/pkg/compiler/lib/src/elements/elements.dart
+++ b/pkg/compiler/lib/src/elements/elements.dart
@@ -1327,6 +1327,8 @@ abstract class ClassElement extends TypeDeclarationElement
int get supertypeLoadState;
String get nativeTagInfo;
+ /// `true` if this class is an enum declaration.
+ bool get isEnumClass;
bool get isMixinApplication;
bool get isUnnamedMixinApplication;
bool get hasBackendMembers;
@@ -1353,8 +1355,6 @@ abstract class ClassElement extends TypeDeclarationElement
void addMember(Element element, DiagnosticListener listener);
void addToScope(Element element, DiagnosticListener listener);
- void setDefaultConstructor(FunctionElement constructor, Compiler compiler);
-
void addBackendMember(Element element);
void reverseBackendMembers();
« no previous file with comments | « pkg/compiler/lib/src/dart2js.dart ('k') | pkg/compiler/lib/src/elements/modelx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698