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

Unified Diff: runtime/vm/ast_printer.cc

Issue 8761011: Renaming type classes as discussed: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month 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: runtime/vm/ast_printer.cc
===================================================================
--- runtime/vm/ast_printer.cc (revision 1948)
+++ runtime/vm/ast_printer.cc (working copy)
@@ -84,7 +84,8 @@
OS::Print("(%s %s%s '%s' ",
node->Name(),
field.is_final() ? "final " : "",
- String::Handle(Type::Handle(field.type()).Name()).ToCString(),
+ String::Handle(AbstractType::Handle(field.type()).Name()).
+ ToCString(),
String::Handle(field.name()).ToCString());
node->VisitChildren(this);
OS::Print(")");
@@ -123,7 +124,7 @@
void AstPrinter::VisitTypeNode(TypeNode* node) {
- const Type& type = node->type();
+ const AbstractType& type = node->type();
OS::Print("'%s'", String::Handle(type.Name()).ToCString());
}
@@ -131,7 +132,7 @@
void AstPrinter::VisitAssignableNode(AssignableNode* node) {
OS::Print("(assignable ");
node->expr()->Visit(this);
- const Type& type = node->type();
+ const AbstractType& type = node->type();
const String& dst_name = node->dst_name();
OS::Print(" to type '%s' of '%s')",
String::Handle(type.Name()).ToCString(),
« no previous file with comments | « runtime/vm/ast.h ('k') | runtime/vm/class_finalizer.h » ('j') | runtime/vm/object.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698