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

Unified Diff: runtime/vm/scopes.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/scopes.h
===================================================================
--- runtime/vm/scopes.h (revision 1948)
+++ runtime/vm/scopes.h (working copy)
@@ -18,7 +18,9 @@
class LocalVariable : public ZoneAllocated {
public:
- LocalVariable(intptr_t token_index, const String& name, const Type& type)
+ LocalVariable(intptr_t token_index,
+ const String& name,
+ const AbstractType& type)
: token_index_(token_index),
name_(name),
owner_(NULL),
@@ -39,7 +41,7 @@
owner_ = owner;
}
- const Type& type() const { return type_; }
+ const AbstractType& type() const { return type_; }
bool is_final() const { return is_final_; }
void set_is_final() { is_final_ = true; }
@@ -71,7 +73,7 @@
const String& name_;
LocalScope* owner_; // Local scope declaring this variable.
- const Type& type_; // Declaration type of local variable.
+ const AbstractType& type_; // Declaration type of local variable.
bool is_final_; // If true, this variable is readonly.
bool is_captured_; // If true, this variable lives in the context, otherwise

Powered by Google App Engine
This is Rietveld 408576698