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

Unified Diff: runtime/vm/ast.h

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.h
===================================================================
--- runtime/vm/ast.h (revision 1948)
+++ runtime/vm/ast.h (working copy)
@@ -353,21 +353,21 @@
class TypeNode : public AstNode {
public:
- TypeNode(intptr_t token_index, const Type& type)
+ TypeNode(intptr_t token_index, const AbstractType& type)
: AstNode(token_index), type_(type) {
ASSERT(type.IsZoneHandle());
ASSERT(!type.IsNull());
ASSERT(type.IsFinalized());
}
- const Type& type() const { return type_; }
+ const AbstractType& type() const { return type_; }
virtual void VisitChildren(AstNodeVisitor* visitor) const { }
DECLARE_COMMON_NODE_FUNCTIONS(TypeNode);
private:
- const Type& type_;
+ const AbstractType& type_;
DISALLOW_IMPLICIT_CONSTRUCTORS(TypeNode);
};
@@ -377,7 +377,7 @@
public:
AssignableNode(intptr_t token_index,
AstNode* expr,
- const Type& type,
+ const AbstractType& type,
const String& dst_name)
: AstNode(token_index), expr_(expr), type_(type), dst_name_(dst_name) {
ASSERT(expr_ != NULL);
@@ -388,7 +388,7 @@
}
AstNode* expr() const { return expr_; }
- const Type& type() const { return type_; }
+ const AbstractType& type() const { return type_; }
const String& dst_name() const { return dst_name_; }
virtual void VisitChildren(AstNodeVisitor* visitor) const {
@@ -399,7 +399,7 @@
private:
AstNode* expr_;
- const Type& type_;
+ const AbstractType& type_;
const String& dst_name_;
DISALLOW_IMPLICIT_CONSTRUCTORS(AssignableNode);
« no previous file with comments | « runtime/lib/error.cc ('k') | runtime/vm/ast_printer.cc » ('j') | runtime/vm/object.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698