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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/model/DartElement.java

Issue 11776037: Initial support for mixins in dartc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Forgot MixinScope.java Created 7 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 side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/model/DartElement.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/model/DartElement.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/model/DartElement.java
index cbc820008857f3b32a1795a88054343c85dbc7c0..ac90af3557b8a248e7fa748f4d29a032e8cd34fb 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/model/DartElement.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/model/DartElement.java
@@ -115,6 +115,12 @@ public interface DartElement extends IAdaptable {
public static int FUNCTION_TYPE_ALIAS = 15;
/**
+ * A constant representing a class type alias. A Dart element with this type can be safely cast to
+ * {@link DartClassTypeAlias}.
+ */
+ public static int CLASS_TYPE_ALIAS = 16;
+
+ /**
* A constant representing a local variable or parameter. A Dart element with this type can be
* safely cast to {@link DartVariableDeclaration}.
*/

Powered by Google App Engine
This is Rietveld 408576698