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

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

Issue 2705153004: Handle TypeVariable and TypeVariables in AstBuilder. (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
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 95dfdae23067f7b3bd03812de26b507aac1af254..6100785b2b196c036231b78d5da75c53a2d9c70b 100644
--- a/pkg/front_end/lib/src/fasta/parser/listener.dart
+++ b/pkg/front_end/lib/src/fasta/parser/listener.dart
@@ -628,6 +628,10 @@ class Listener {
void beginTypeVariable(Token token) {}
+ /// Handle the end of a type formal parameter (e.g. "X extends Y").
+ /// Substructures:
+ /// - Name (identifier)
+ /// - Type bound
void endTypeVariable(Token token, Token extendsOrSuper) {
logEvent("TypeVariable");
}

Powered by Google App Engine
This is Rietveld 408576698