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

Unified Diff: frog/tree.dart

Issue 9270048: Lots of frog cleanup (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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: 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.
« frog/gen.dart ('K') | « frog/tests/frog/frog.status ('k') | frog/tree.g.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698