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

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

Issue 2976103002: cleanup fasta parser send and expression events (Closed)
Patch Set: update comments Created 3 years, 5 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 ff12768dfb2c44122a10fd6d41c0582ee7ccbc30..335a0e0c871aea2ff219266edf7ed0b23cd0b5ac 100644
--- a/pkg/front_end/lib/src/fasta/parser/listener.dart
+++ b/pkg/front_end/lib/src/fasta/parser/listener.dart
@@ -166,8 +166,6 @@ class Listener {
logEvent("Export");
}
- void beginExpression(Token token) {}
-
void beginExpressionStatement(Token token) {}
/// Called by [ClassMemberParser] after skipping an expression as error
@@ -648,9 +646,7 @@ class Listener {
logEvent("ReturnStatement");
}
- void beginSend(Token token) {}
-
- void endSend(Token beginToken, Token endToken) {
+ void handleSend(Token beginToken, Token endToken) {
logEvent("Send");
}
@@ -680,9 +676,7 @@ class Listener {
logEvent("LiteralSymbol");
}
- void beginThrowExpression(Token token) {}
-
- void endThrowExpression(Token throwToken, Token endToken) {
+ void handleThrowExpression(Token throwToken, Token endToken) {
logEvent("ThrowExpression");
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/body_builder.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