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

Unified Diff: runtime/vm/ast.h

Issue 8776020: Ongoing renaming of type classes: (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
« no previous file with comments | « runtime/lib/regexp.cc ('k') | runtime/vm/class_finalizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/ast.h
===================================================================
--- runtime/vm/ast.h (revision 1992)
+++ runtime/vm/ast.h (working copy)
@@ -285,7 +285,7 @@
class ArrayNode : public AstNode {
public:
- ArrayNode(intptr_t token_index, const TypeArguments& type_arguments)
+ ArrayNode(intptr_t token_index, const AbstractTypeArguments& type_arguments)
: AstNode(token_index),
type_arguments_(type_arguments),
elements_(4) {
@@ -303,12 +303,14 @@
}
void AddElement(AstNode* expr) { elements_.Add(expr); }
- const TypeArguments& type_arguments() const { return type_arguments_; }
+ const AbstractTypeArguments& type_arguments() const {
+ return type_arguments_;
+ }
DECLARE_COMMON_NODE_FUNCTIONS(ArrayNode);
private:
- const TypeArguments& type_arguments_;
+ const AbstractTypeArguments& type_arguments_;
GrowableArray<AstNode*> elements_;
DISALLOW_IMPLICIT_CONSTRUCTORS(ArrayNode);
@@ -1698,7 +1700,7 @@
class ConstructorCallNode : public AstNode {
public:
ConstructorCallNode(intptr_t token_index,
- const TypeArguments& type_arguments,
+ const AbstractTypeArguments& type_arguments,
const Function& constructor,
ArgumentListNode* arguments)
: AstNode(token_index),
@@ -1710,7 +1712,9 @@
ASSERT(arguments_ != NULL);
}
- const TypeArguments& type_arguments() const { return type_arguments_; }
+ const AbstractTypeArguments& type_arguments() const {
+ return type_arguments_;
+ }
const Function& constructor() const { return constructor_; }
ArgumentListNode* arguments() const { return arguments_; }
@@ -1721,7 +1725,7 @@
DECLARE_COMMON_NODE_FUNCTIONS(ConstructorCallNode);
private:
- const TypeArguments& type_arguments_;
+ const AbstractTypeArguments& type_arguments_;
const Function& constructor_;
ArgumentListNode* arguments_;
« no previous file with comments | « runtime/lib/regexp.cc ('k') | runtime/vm/class_finalizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698