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

Unified Diff: pkg/fasta/lib/src/source/unhandled_listener.dart

Issue 2650803002: Rename events. (Closed)
Patch Set: Address review comments. Created 3 years, 11 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/fasta/lib/src/source/stack_listener.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fasta/lib/src/source/unhandled_listener.dart
diff --git a/pkg/fasta/lib/src/source/unhandled_listener.dart b/pkg/fasta/lib/src/source/unhandled_listener.dart
index ec4430511d21872b7251f0967849f9211d4c5e74..c9c032994a4d99bf868b766c11aac3a0320d1114 100644
--- a/pkg/fasta/lib/src/source/unhandled_listener.dart
+++ b/pkg/fasta/lib/src/source/unhandled_listener.dart
@@ -29,11 +29,13 @@ enum Unhandled {
// TODO(ahe): Get rid of this class when all listeners are complete.
abstract class UnhandledListener extends StackListener {
+ @override
void endMetadataStar(int count, bool forParameter) {
debugEvent("MetadataStar");
push(popList(count) ?? NullValue.Metadata);
}
+ @override
void endConditionalUri(Token ifKeyword, Token equalitySign) {
debugEvent("ConditionalUri");
pop(); // URI.
@@ -42,29 +44,34 @@ abstract class UnhandledListener extends StackListener {
push(Unhandled.ConditionalUri);
}
+ @override
void endConditionalUris(int count) {
debugEvent("ConditionalUris");
popList(count);
push(Unhandled.ConditionalUris);
}
+ @override
void endHide(Token hideKeyword) {
debugEvent("Hide");
pop();
push(Unhandled.Hide);
}
+ @override
void endShow(Token showKeyword) {
debugEvent("Show");
pop();
push(Unhandled.Show);
}
+ @override
void endCombinators(int count) {
debugEvent("Combinators");
push(popList(count) ?? NullValue.Combinators);
}
+ @override
void endDottedName(int count, Token firstIdentifier) {
debugEvent("DottedName");
popList(count);
« no previous file with comments | « pkg/fasta/lib/src/source/stack_listener.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698