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

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

Issue 2715203003: Support for function typed formal parameters. (Closed)
Patch Set: Created 3 years, 10 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/front_end/lib/src/fasta/analyzer/ast_builder.dart ('k') | no next file » | 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 937aa46481c96d306e35a0ee2bb2b973ee7e4258..7a94816195bfbe7f76171d92b9ceaea3e1e86a98 100644
--- a/pkg/front_end/lib/src/fasta/parser/listener.dart
+++ b/pkg/front_end/lib/src/fasta/parser/listener.dart
@@ -739,6 +739,13 @@ class Listener {
void beginFunctionTypedFormalParameter(Token token) {}
+ /// Handle the end of a function typed formal parameter. Substructures:
+ /// - metadata
+ /// - modifiers
+ /// - return type
+ /// - parameter name (simple identifier)
+ /// - type parameters
+ /// - formal parameters
void endFunctionTypedFormalParameter(Token token) {
logEvent("FunctionTypedFormalParameter");
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698