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

Unified Diff: pkg/front_end/lib/src/fasta/parser/listener.dart

Issue 2738053010: Add an argument to handleFunctionBodySkipped. (Closed)
Patch Set: Created 3 years, 9 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 | « pkg/compiler/lib/src/parser/node_listener.dart ('k') | pkg/front_end/lib/src/fasta/parser/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/parser/listener.dart
diff --git a/pkg/front_end/lib/src/fasta/parser/listener.dart b/pkg/front_end/lib/src/fasta/parser/listener.dart
index ac513a4eb0b5f2a0e73fe0214328ca2e782d20ba..343ac6ac84f65822011b5b5b2fef689884b4c251 100644
--- a/pkg/front_end/lib/src/fasta/parser/listener.dart
+++ b/pkg/front_end/lib/src/fasta/parser/listener.dart
@@ -250,7 +250,11 @@ class Listener {
logEvent("NoFunctionBody");
}
- void handleFunctionBodySkipped(Token token) {}
+ /// Handle the end of a function body that was skipped by the parser.
+ ///
+ /// The boolean [isExpressionBody] indicates whether the function body that
+ /// was skipped used "=>" syntax.
+ void handleFunctionBodySkipped(Token token, bool isExpressionBody) {}
void beginFunctionName(Token token) {}
« no previous file with comments | « pkg/compiler/lib/src/parser/node_listener.dart ('k') | pkg/front_end/lib/src/fasta/parser/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698