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

Unified Diff: runtime/vm/parser.h

Issue 362153002: Transform functions marked as async (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: first round of comments Created 6 years, 5 months 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
diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h
index fc68254aec44a0cb5b053f3aa471836977264a5e..c2bf68707a3823aaf71da40677e48a960553bc87 100644
--- a/runtime/vm/parser.h
+++ b/runtime/vm/parser.h
@@ -363,6 +363,8 @@ class Parser : public ValueObject {
void ParseTopLevelAccessor(TopLevel* top_level, intptr_t metadata_pos);
RawArray* EvaluateMetadata();
+ RawFunction::Modifier ParseFunctionModifier();
+
// Support for parsing libraries.
RawObject* CallLibraryTagHandler(Dart_LibraryTag tag,
intptr_t token_pos,
@@ -463,6 +465,11 @@ class Parser : public ValueObject {
Array* default_parameter_values);
SequenceNode* ParseFunc(const Function& func,
Array* default_parameter_values);
+ RawClass* GetFutureClass();
+ SequenceNode* BuildAsyncFuture(const Function& outer,
+ SequenceNode* parsed_body,
+ ParamList* params,
+ intptr_t saved_pos);
void ParseNativeFunctionBlock(const ParamList* params, const Function& func);
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/parser.cc » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698