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

Unified Diff: pkg/compiler/lib/src/parser/listener.dart

Issue 2567133002: Add support for the new function-type syntax. (Closed)
Patch Set: Fix comments. Created 4 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
Index: pkg/compiler/lib/src/parser/listener.dart
diff --git a/pkg/compiler/lib/src/parser/listener.dart b/pkg/compiler/lib/src/parser/listener.dart
index b33bd84d2b2d4b2c9019ad806fc37ac1c27ef8bb..993f71e2895461752bdf468fc9cf384bc65b5be5 100644
--- a/pkg/compiler/lib/src/parser/listener.dart
+++ b/pkg/compiler/lib/src/parser/listener.dart
@@ -134,6 +134,10 @@ class Listener {
void endFunctionTypeAlias(Token typedefKeyword, Token endToken) {}
+ void beginNewFunctionTypeAlias(Token token) {}
+
+ void endNewFunctionTypeAlias(Token typedefKeyword, Token endToken) {}
+
void beginMixinApplication(Token token) {}
void endMixinApplication() {}
@@ -295,6 +299,10 @@ class Listener {
void endType(Token beginToken, Token endToken) {}
+ void beginFunctionType(Token token) {}
+
+ void endFunctionType(Token beginToken, Token endToken) {}
+
void beginTypeArguments(Token token) {}
void endTypeArguments(int count, Token beginToken, Token endToken) {}

Powered by Google App Engine
This is Rietveld 408576698