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

Unified Diff: runtime/vm/parser.h

Issue 8676001: Implement type checking of list literals (issue 220). (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/parser.h
===================================================================
--- runtime/vm/parser.h (revision 1775)
+++ runtime/vm/parser.h (working copy)
@@ -162,7 +162,7 @@
void SkipNewOperator();
void SkipActualParameters();
void SkipMapLiteral();
- void SkipArrayLiteral();
+ void SkipListLiteral();
void SkipFunctionLiteral();
void SkipStringLiteral();
@@ -342,9 +342,9 @@
AstNode* ParsePrimary();
AstNode* ParseStringLiteral();
AstNode* ParseCompoundLiteral();
- AstNode* ParseArrayLiteral(intptr_t type_pos,
- bool is_const,
- const TypeArguments& type_arguments);
+ AstNode* ParseListLiteral(intptr_t type_pos,
+ bool is_const,
+ const TypeArguments& type_arguments);
AstNode* ParseMapLiteral(intptr_t type_pos,
bool is_const,
const TypeArguments& type_arguments);

Powered by Google App Engine
This is Rietveld 408576698