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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/util/MementoTokenizer.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/internal/util/MementoTokenizer.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/util/MementoTokenizer.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/util/MementoTokenizer.java
index 7fae8fb9df9534ce0f45c1f5fb2452ae316902f6..d9906702a007a6417ddf6a77d5672b6e96f300ad 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/util/MementoTokenizer.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/util/MementoTokenizer.java
@@ -19,6 +19,7 @@ import com.google.dart.tools.core.internal.model.DartElementImpl;
* Instances of the class <code>MementoTokenizer</code> tokenize a DartElementImpl memento.
*/
public class MementoTokenizer {
+ public static final String CLASS_TYPE_ALIAS = Character.toString(DartElementImpl.MEMENTO_DELIMITER_CLASS_TYPE_ALIAS);
public static final String COMPILATION_UNIT = Character.toString(DartElementImpl.MEMENTO_DELIMITER_COMPILATION_UNIT);
public static final String COUNT = Character.toString(DartElementImpl.MEMENTO_DELIMITER_COUNT);
public static final String FIELD = Character.toString(DartElementImpl.MEMENTO_DELIMITER_FIELD);
@@ -85,6 +86,8 @@ public class MementoTokenizer {
return PROJECT;
case DartElementImpl.MEMENTO_DELIMITER_TYPE:
return TYPE;
+ case DartElementImpl.MEMENTO_DELIMITER_CLASS_TYPE_ALIAS:
+ return CLASS_TYPE_ALIAS;
case DartElementImpl.MEMENTO_DELIMITER_VARIABLE:
return VARIABLE;
}

Powered by Google App Engine
This is Rietveld 408576698