Index: frog/tree.dart |
diff --git a/frog/tree.dart b/frog/tree.dart |
index aef83a07f6e8a828c80baf0a3d400864dbd872a6..a0e09edfd91fdae90fd0f1654c7dbebadfbd529f 100644 |
--- a/frog/tree.dart |
+++ b/frog/tree.dart |
@@ -27,7 +27,7 @@ class Definition extends Statement { |
Definition(SourceSpan span): super(span) {} |
List<TypeParameter> get typeParameters() => null; |
- String get nativeType() => null; |
+ NativeType get nativeType() => null; |
} |
/** The base type for statements. */ |
@@ -40,13 +40,9 @@ class Expression extends Node { |
Expression(SourceSpan span): super(span) {} |
} |
+/** The base type for a reference to a [Type]. */ |
class TypeReference extends Node { |
- Type type; |
- TypeReference(SourceSpan span, [this.type=null]): super(span) {} |
- |
- visit(TreeVisitor visitor) => visitor.visitTypeReference(this); |
- |
- bool get isFinal() => false; |
+ TypeReference(SourceSpan span): super(span) {} |
} |
// TODO(jimhug): Clean-up and factor out of core. |