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

Unified Diff: runtime/vm/parser.h

Issue 2260693002: Implement parsing support for generic functions (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address review comments Created 4 years, 4 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
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | runtime/vm/parser.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/parser.h
diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h
index d2644b72f8794b9841bf816ad273e2d03bb108bd..416d11ac8d7e51631e8e4ee0214e3efc94be749d 100644
--- a/runtime/vm/parser.h
+++ b/runtime/vm/parser.h
@@ -285,6 +285,7 @@ class Parser : public ValueObject {
struct Block;
class TryStack;
+ class TokenPosScope;
Parser(const Script& script,
const Library& library,
@@ -752,9 +753,14 @@ class Parser : public ValueObject {
bool IsMixinAppAlias();
bool TryParseQualIdent();
bool TryParseTypeParameters();
+ bool TryParseTypeArguments();
+ bool IsTypeParameters();
+ bool IsArgumentPart();
+ bool IsParameterPart();
bool TryParseOptionalType();
bool TryParseReturnType();
bool IsVariableDeclaration();
+ bool IsFunctionReturnType();
bool IsFunctionDeclaration();
bool IsFunctionLiteral();
bool IsForInStatement();
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698