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

Unified Diff: dart/runtime/vm/parser.h

Issue 772443002: Version 1.8.2 (Closed) Base URL: http://dart.googlecode.com/svn/branches/1.8/
Patch Set: Created 6 years 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 | « dart/runtime/vm/ast_transformer.cc ('k') | dart/runtime/vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/runtime/vm/parser.h
===================================================================
--- dart/runtime/vm/parser.h (revision 42030)
+++ dart/runtime/vm/parser.h (working copy)
@@ -27,6 +27,7 @@
class LocalVariable;
class SourceLabel;
template <typename T> class GrowableArray;
+class Parser;
struct CatchParamDesc;
class ClassDesc;
@@ -131,10 +132,7 @@
void AllocateVariables();
- void record_await() {
- have_seen_await_expr_ = true;
- }
- void reset_have_seen_await() { have_seen_await_expr_ = false; }
+ void record_await() { have_seen_await_expr_ = true; }
bool have_seen_await() const { return have_seen_await_expr_; }
void set_saved_try_ctx(LocalVariable* saved_try_ctx) {
@@ -178,6 +176,7 @@
Isolate* isolate_;
+ friend class Parser;
DISALLOW_COPY_AND_ASSIGN(ParsedFunction);
};
« no previous file with comments | « dart/runtime/vm/ast_transformer.cc ('k') | dart/runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698