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

Unified Diff: pkg/analyzer/lib/src/fasta/ast_builder.dart

Issue 2980043003: more fasta event cleanup and testing (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/parser_fasta_listener.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/fasta/ast_builder.dart
diff --git a/pkg/analyzer/lib/src/fasta/ast_builder.dart b/pkg/analyzer/lib/src/fasta/ast_builder.dart
index e0088f74e7a107278e945dece556d2a5a2a8ee3c..df2e9afe32df2330ad8ba13adfe28c82c5567358 100644
--- a/pkg/analyzer/lib/src/fasta/ast_builder.dart
+++ b/pkg/analyzer/lib/src/fasta/ast_builder.dart
@@ -951,13 +951,8 @@ class AstBuilder extends ScopeListener {
}
@override
- void handleSwitchCase(
- int labelCount,
- int expressionCount,
- Token defaultKeyword,
- int statementCount,
- Token firstToken,
- Token endToken) {
+ void endSwitchCase(int labelCount, int expressionCount, Token defaultKeyword,
+ int statementCount, Token firstToken, Token endToken) {
debugEvent("SwitchCase");
List<Statement> statements = popList(statementCount);
List<SwitchMember> members = popList(expressionCount) ?? [];
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/parser_fasta_listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698