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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/completion/ast/ClassCompleter.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/completion/ast/ClassCompleter.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/completion/ast/ClassCompleter.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/completion/ast/ClassCompleter.java
index f7da77a56c91353128c465c002889e7c75efd357..4b48c4dacdc3c37df8def2c2f66c62536c8a8f59 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/completion/ast/ClassCompleter.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/completion/ast/ClassCompleter.java
@@ -38,6 +38,7 @@ public class ClassCompleter extends DartClass implements CompletionNode {
type.getSuperclass(),
type.getImplementsOffset(),
type.getInterfaces(),
+ type.getMixins(),
type.getDefaultTokenOffset(),
type.getOpenBraceOffset(),
type.getCloseBraceOffset(),
@@ -52,9 +53,10 @@ public class ClassCompleter extends DartClass implements CompletionNode {
public ClassCompleter(int tokenOffset, int tokenLength, DartIdentifier name,
DartStringLiteral nativeName, DartTypeNode superclass, int implementsOffset,
- List<DartTypeNode> interfaces, int defaultTokenOffset, int openBraceOffset,
- int closeBraceOffset, List<DartNode> members, List<DartTypeParameter> typeParameters,
- DartParameterizedTypeNode defaultClass, boolean isInterface, Modifiers modifiers) {
+ List<DartTypeNode> interfaces, List<DartTypeNode> mixins, int defaultTokenOffset,
+ int openBraceOffset, int closeBraceOffset, List<DartNode> members,
+ List<DartTypeParameter> typeParameters, DartParameterizedTypeNode defaultClass,
+ boolean isInterface, Modifiers modifiers) {
super(
tokenOffset,
tokenLength,
@@ -63,6 +65,7 @@ public class ClassCompleter extends DartClass implements CompletionNode {
superclass,
implementsOffset,
interfaces,
+ mixins,
defaultTokenOffset,
openBraceOffset,
closeBraceOffset,

Powered by Google App Engine
This is Rietveld 408576698