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

Unified Diff: pkg/analyzer/test/generated/parser_fasta_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
« no previous file with comments | « pkg/analyzer/lib/src/fasta/ast_builder.dart ('k') | pkg/analyzer/tool/summary/mini_ast.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/parser_fasta_listener.dart
diff --git a/pkg/analyzer/test/generated/parser_fasta_listener.dart b/pkg/analyzer/test/generated/parser_fasta_listener.dart
index 6d0f8db332f3fc7f8b178947cad2138e1d467ee4..0bf2018898f43748cac2b0b3fe743fbc1eede4c7 100644
--- a/pkg/analyzer/test/generated/parser_fasta_listener.dart
+++ b/pkg/analyzer/test/generated/parser_fasta_listener.dart
@@ -183,13 +183,6 @@ class ForwardingTestListener implements fasta.Listener {
_begin('Export');
}
- @override
- void beginExpression(analyzer.Token token) {
- listener.beginExpression(token);
- // There is no corresponding endExpression
- //_begin('Expression');
- }
-
@override
void beginExpressionStatement(analyzer.Token token) {
listener.beginExpressionStatement(token);
@@ -437,12 +430,6 @@ class ForwardingTestListener implements fasta.Listener {
_begin('ReturnStatement');
}
- @override
- void beginSend(analyzer.Token token) {
- listener.beginSend(token);
- _begin('Send');
- }
-
@override
void beginShow(analyzer.Token showKeyword) {
listener.beginShow(showKeyword);
@@ -474,12 +461,6 @@ class ForwardingTestListener implements fasta.Listener {
_begin('ThenStatement');
}
- @override
- void beginThrowExpression(analyzer.Token token) {
- listener.beginThrowExpression(token);
- _begin('ThrowExpression');
- }
-
@override
void beginTopLevelMember(analyzer.Token token) {
listener.beginTopLevelMember(token);
@@ -1006,13 +987,6 @@ class ForwardingTestListener implements fasta.Listener {
listener.endReturnStatement(hasExpression, beginToken, endToken);
}
- @override
- void endSend(analyzer.Token beginToken, analyzer.Token endToken) {
- // There is not always a beginSend for each endSend
- _end('Send', optional: true);
- listener.endSend(beginToken, endToken);
- }
-
@override
void endShow(analyzer.Token showKeyword) {
_end('Show');
@@ -1039,12 +1013,6 @@ class ForwardingTestListener implements fasta.Listener {
listener.endThenStatement(token);
}
- @override
- void endThrowExpression(analyzer.Token throwToken, analyzer.Token endToken) {
- _end('ThrowExpression');
- listener.endThrowExpression(throwToken, endToken);
- }
-
@override
void endTopLevelDeclaration(analyzer.Token token) {
// There is no corresponding beginTopLevelDeclaration
@@ -1453,6 +1421,12 @@ class ForwardingTestListener implements fasta.Listener {
// TODO(danrubel): implement handleScript
}
+ @override
+ void handleSend(analyzer.Token beginToken, analyzer.Token endToken) {
+ listener.handleSend(beginToken, endToken);
+ // TODO(danrubel): implement handleSend
+ }
+
@override
void handleStringJuxtaposition(int literalCount) {
listener.handleStringJuxtaposition(literalCount);
@@ -1496,6 +1470,13 @@ class ForwardingTestListener implements fasta.Listener {
// TODO(danrubel): implement handleThisExpression
}
+ @override
+ void handleThrowExpression(
+ analyzer.Token throwToken, analyzer.Token endToken) {
+ listener.handleThrowExpression(throwToken, endToken);
+ // TODO(danrubel): implement handleThrowExpression
+ }
+
@override
void handleType(analyzer.Token beginToken, analyzer.Token endToken) {
listener.handleType(beginToken, endToken);
« no previous file with comments | « pkg/analyzer/lib/src/fasta/ast_builder.dart ('k') | pkg/analyzer/tool/summary/mini_ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698